Skip to content

Commit

Permalink
Replace references to third party domain with example.org (#63154).
Browse files Browse the repository at this point in the history
Removes references to a third party domain outside of the WordPress project's control with the reserved domain example.org. For the inline documentation a translator note is added alerting the polyglots to use either a reserved domain or a wordpress.org domain/sub-domain.

Co-authored-by: ramonjd <[email protected]>
  • Loading branch information
2 people authored and gutenbergplugin committed Jul 5, 2024
1 parent 01a2581 commit 590f24c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/how-to-guides/metabox.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ When the meta box area is saving, we display an updating overlay, to prevent use

An example save url would look like:

`mysite.com/wp-admin/post.php?post=1&action=edit&meta-box-loader=1`
`example.org/wp-admin/post.php?post=1&action=edit&meta-box-loader=1`

This url is automatically passed into React via a `_wpMetaBoxUrl` global variable.

Expand Down
9 changes: 6 additions & 3 deletions packages/editor/src/components/page-attributes/parent.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,12 @@ export function ParentRow() {
onClose={ onClose }
/>
<div>
{ __(
"Child pages inherit characteristics from their parent, such as URL structure. For instance, if 'Web Design' is a child of 'Services,' its URL would be mysite.com/services/web-design."
) }
{
/* translators: The domain name should be a reserved domain name to prevent linking to third party sites outside the WordPress project's control. You may also wish to use wordpress.org or a wordpress.org sub-domain. */
__(
"Child pages inherit characteristics from their parent, such as URL structure. For instance, if 'Web Design' is a child of 'Services', its URL would be example.org/services/web-design."
)
}
<p>
{ __(
'They also show up as sub-items in the default navigation menu. '
Expand Down

0 comments on commit 590f24c

Please sign in to comment.