Help/About: Use the new `/documentation/` URLs for HelpHub links in WordPress Admin.

As `https://wordpress.org/support/` was redirected to `https://wordpress.org/documentation/`, this changeset replaces various `/support/article/*` links with `/documentation/article/*` to avoid an extra redirect.

This also updates links to Support Forums by replacing `https://wordpress.org/support/` URLs with `https://wordpress.org/support/forums/`.

Props SergeyBiryukov, audrasjb, dhrupo, hasanmisbah, sakibmd, sabernhardt.
See #57726.

Built from https://develop.svn.wordpress.org/trunk@55412


git-svn-id: http://core.svn.wordpress.org/trunk@54945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-23 10:38:21 +00:00
parent 8771b175cd
commit 418a21fdbc
74 changed files with 162 additions and 162 deletions

View File

@ -47,7 +47,7 @@
</ol> </ol>
<h2>Migrating from other systems</h2> <h2>Migrating from other systems</h2>
<p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p> <p>WordPress can <a href="https://wordpress.org/documentation/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<h2>System Requirements</h2> <h2>System Requirements</h2>
<ul> <ul>

View File

@ -68,8 +68,8 @@ switch ( $action ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
wp_enqueue_script( 'comment' ); wp_enqueue_script( 'comment' );

View File

@ -250,7 +250,7 @@ do_action( 'customize_controls_head' );
</p> </p>
<p> <p>
<?php <?php
_e( '<a href="https://wordpress.org/support/article/appearance-customize-screen/">Documentation on Customizer</a>' ); _e( '<a href="https://wordpress.org/documentation/article/appearance-customize-screen/">Documentation on Customizer</a>' );
?> ?>
</p> </p>
</div> </div>

View File

@ -207,10 +207,10 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -316,8 +316,8 @@ if ( 'post' === $post_type ) {
'tools.php' 'tools.php'
) . '</p>' . ) . '</p>' .
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
} elseif ( 'page' === $post_type ) { } elseif ( 'page' === $post_type ) {
$about_pages = '<p>' . __( 'Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the &#8220;Parent&#8221; of the other, creating a group of pages.' ) . '</p>' . $about_pages = '<p>' . __( 'Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the &#8220;Parent&#8221; of the other, creating a group of pages.' ) . '</p>' .
@ -333,9 +333,9 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
} elseif ( 'attachment' === $post_type ) { } elseif ( 'attachment' === $post_type ) {
get_current_screen()->add_help_tab( get_current_screen()->add_help_tab(
@ -352,14 +352,14 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
} }
if ( 'post' === $post_type || 'page' === $post_type ) { if ( 'post' === $post_type || 'page' === $post_type ) {
$inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>'; $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
$inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/support/article/embeds/">Learn more about embeds</a>.' ) . '</p>'; $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/documentation/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
get_current_screen()->add_help_tab( get_current_screen()->add_help_tab(
array( array(
@ -377,7 +377,7 @@ if ( 'post' === $post_type ) {
'</li>'; '</li>';
if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) { if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) {
$publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/support/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>'; $publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/documentation/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
} }
if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) { if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) {

View File

@ -74,7 +74,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Links_Add_New_Screen">Documentation on Creating Links</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Links_Add_New_Screen">Documentation on Creating Links</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -302,14 +302,14 @@ if ( 'category' === $taxonomy || 'link_category' === $taxonomy || 'post_tag' ===
$help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>'; $help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
if ( 'category' === $taxonomy ) { if ( 'category' === $taxonomy ) {
$help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-categories-screen/">Documentation on Categories</a>' ) . '</p>'; $help .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/posts-categories-screen/">Documentation on Categories</a>' ) . '</p>';
} elseif ( 'link_category' === $taxonomy ) { } elseif ( 'link_category' === $taxonomy ) {
$help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>'; $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>';
} else { } else {
$help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-tags-screen/">Documentation on Tags</a>' ) . '</p>'; $help .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/posts-tags-screen/">Documentation on Tags</a>' ) . '</p>';
} }
$help .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'; $help .= '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>';
get_current_screen()->set_help_sidebar( $help ); get_current_screen()->set_help_sidebar( $help );

View File

@ -294,8 +294,8 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/posts-screen/">Documentation on Managing Posts</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/posts-screen/">Documentation on Managing Posts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
} elseif ( 'page' === $post_type ) { } elseif ( 'page' === $post_type ) {
@ -319,8 +319,8 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Managing Pages</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-screen/">Documentation on Managing Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
} }

View File

@ -62,8 +62,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-erase-personal-data-screen/">Documentation on Erase Personal Data</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-erase-personal-data-screen/">Documentation on Erase Personal Data</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
// Handle list table actions. // Handle list table actions.

View File

@ -62,8 +62,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-personal-data-screen/">Documentation on Export Personal Data</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-export-personal-data-screen/">Documentation on Export Personal Data</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
// Handle list table actions. // Handle list table actions.

View File

@ -56,8 +56,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
// If the 'download' URL parameter is set, a WXR export file is baked and returned. // If the 'download' URL parameter is set, a WXR export file is baked and returned.

View File

@ -29,8 +29,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums">Support</a>' ) . '</p>'
); );
if ( current_user_can( 'install_plugins' ) ) { if ( current_user_can( 'install_plugins' ) ) {

View File

@ -98,7 +98,7 @@ class Custom_Background {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Background_Screen">Documentation on Custom Background</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Background_Screen">Documentation on Custom Background</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
wp_enqueue_media(); wp_enqueue_media();

View File

@ -135,7 +135,7 @@ class Custom_Image_Header {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Header_Screen">Documentation on Custom Header</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Header_Screen">Documentation on Custom Header</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
} }

View File

@ -293,13 +293,13 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
$warning = sprintf( $warning = sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ), __( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' ) __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
); );
} else { } else {
$warning = sprintf( $warning = sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You are updating a plugin. Be sure to <a href="%s">back up your database and files</a> first.' ), __( 'You are updating a plugin. Be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' ) __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
); );
} }

View File

@ -328,13 +328,13 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
$warning = sprintf( $warning = sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ), __( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' ) __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
); );
} else { } else {
$warning = sprintf( $warning = sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You are updating a theme. Be sure to <a href="%s">back up your database and files</a> first.' ), __( 'You are updating a theme. Be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' ) __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
); );
} }

View File

@ -1496,7 +1496,7 @@ class WP_Site_Health {
'actions' => sprintf( 'actions' => sprintf(
'<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
/* translators: Documentation explaining debugging in WordPress. */ /* translators: Documentation explaining debugging in WordPress. */
esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ), esc_url( __( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' ) ),
__( 'Learn more about debugging in WordPress.' ), __( 'Learn more about debugging in WordPress.' ),
/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
__( '(opens in a new tab)' ) __( '(opens in a new tab)' )
@ -2329,7 +2329,7 @@ class WP_Site_Health {
'label' => '', 'label' => '',
'actions' => sprintf( 'actions' => sprintf(
'<p><a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', '<p><a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
__( 'https://wordpress.org/support/article/optimization/#Caching' ), __( 'https://wordpress.org/documentation/article/optimization/#Caching' ),
__( 'Learn more about page cache' ), __( 'Learn more about page cache' ),
/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
__( '(opens in a new tab)' ) __( '(opens in a new tab)' )
@ -2438,7 +2438,7 @@ class WP_Site_Health {
$action_url = apply_filters( $action_url = apply_filters(
'site_status_persistent_object_cache_url', 'site_status_persistent_object_cache_url',
/* translators: Localized Support reference. */ /* translators: Localized Support reference. */
__( 'https://wordpress.org/support/article/optimization/#persistent-object-cache' ) __( 'https://wordpress.org/documentation/article/optimization/#persistent-object-cache' )
); );
$result = array( $result = array(

View File

@ -2099,7 +2099,7 @@ function wp_welcome_panel() {
<?php else : ?> <?php else : ?>
<h3><?php _e( 'Discover a new way to build your site.' ); ?></h3> <h3><?php _e( 'Discover a new way to build your site.' ); ?></h3>
<p><?php _e( 'There is a new kind of WordPress theme, called a block theme, that lets you build the site you&#8217;ve always wanted &#8212; with blocks and styles.' ); ?></p> <p><?php _e( 'There is a new kind of WordPress theme, called a block theme, that lets you build the site you&#8217;ve always wanted &#8212; with blocks and styles.' ); ?></p>
<a href="<?php echo esc_url( __( 'https://wordpress.org/support/article/block-themes/' ) ); ?>"><?php _e( 'Learn about block themes' ); ?></a> <a href="<?php echo esc_url( __( 'https://wordpress.org/documentation/article/block-themes/' ) ); ?>"><?php _e( 'Learn about block themes' ); ?></a>
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>

View File

@ -323,7 +323,7 @@ function wp_print_file_editor_templates() {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ), __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
__( 'https://wordpress.org/support/article/changing-file-permissions/' ) __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
); );
?> ?>
</p> </p>
@ -2124,7 +2124,7 @@ function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_own
* The return value can be overridden by defining the `FS_METHOD` constant in `wp-config.php`, * The return value can be overridden by defining the `FS_METHOD` constant in `wp-config.php`,
* or filtering via {@see 'filesystem_method'}. * or filtering via {@see 'filesystem_method'}.
* *
* @link https://wordpress.org/support/article/editing-wp-config-php/#wordpress-upgrade-constants * @link https://wordpress.org/documentation/article/editing-wp-config-php/#wordpress-upgrade-constants
* *
* Plugins may define a custom transport handler, See WP_Filesystem(). * Plugins may define a custom transport handler, See WP_Filesystem().
* *

View File

@ -746,7 +746,7 @@ function post_excerpt_meta_box( $post ) {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ), __( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ),
__( 'https://wordpress.org/support/article/excerpt/' ) __( 'https://wordpress.org/documentation/article/excerpt/' )
); );
?> ?>
</p> </p>
@ -784,7 +784,7 @@ function post_trackback_meta_box( $post ) {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress sites, they&#8217;ll be notified automatically using <a href="%s">pingbacks</a>, no other action necessary.' ), __( 'Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress sites, they&#8217;ll be notified automatically using <a href="%s">pingbacks</a>, no other action necessary.' ),
__( 'https://wordpress.org/support/article/introduction-to-blogging/#comments' ) __( 'https://wordpress.org/documentation/article/introduction-to-blogging/#comments' )
); );
?> ?>
</p> </p>
@ -821,7 +821,7 @@ function post_custom_meta_box( $post ) {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ), __( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ),
__( 'https://wordpress.org/support/article/custom-fields/' ) __( 'https://wordpress.org/documentation/article/custom-fields/' )
); );
?> ?>
</p> </p>
@ -845,7 +845,7 @@ function post_comment_status_meta_box( $post ) {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Allow <a href="%s">trackbacks and pingbacks</a>' ), __( 'Allow <a href="%s">trackbacks and pingbacks</a>' ),
__( 'https://wordpress.org/support/article/introduction-to-blogging/#managing-comments' ) __( 'https://wordpress.org/documentation/article/introduction-to-blogging/#managing-comments' )
); );
?> ?>
</label> </label>

View File

@ -1154,6 +1154,6 @@ function get_site_screen_help_tab_args() {
*/ */
function get_site_screen_help_sidebar_content() { function get_site_screen_help_sidebar_content() {
return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'; '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>';
} }

View File

@ -645,7 +645,7 @@ define( 'BLOG_ID_CURRENT_SITE', 1 );
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'It seems your network is running with Nginx web server. <a href="%s">Learn more about further configuration</a>.' ), __( 'It seems your network is running with Nginx web server. <a href="%s">Learn more about further configuration</a>.' ),
__( 'https://wordpress.org/support/article/nginx/' ) __( 'https://wordpress.org/documentation/article/nginx/' )
); );
echo '</p></li>'; echo '</p></li>';

View File

@ -130,5 +130,5 @@ function options_reading_add_js() {
*/ */
function options_reading_blog_charset() { function options_reading_blog_charset() {
echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />'; echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
echo '<p class="description">' . __( 'The <a href="https://wordpress.org/support/article/glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>'; echo '<p class="description">' . __( 'The <a href="https://wordpress.org/documentation/article/glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
} }

View File

@ -129,8 +129,8 @@ if ( ! $is_dev_version ) {
$screen->set_help_sidebar( $screen->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-screen/">Documentation on Dashboard</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/dashboard-screen/">Documentation on Dashboard</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' .
'<p>' . $wp_version_text . '</p>' '<p>' . $wp_version_text . '</p>'
); );

View File

@ -77,7 +77,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Links_Screen">Documentation on Managing Links</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Links_Screen">Documentation on Managing Links</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -58,8 +58,8 @@ get_current_screen()->add_help_tab(
); );
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/media-add-new-screen/">Documentation on Uploading Media Files</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/media-add-new-screen/">Documentation on Uploading Media Files</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -94,8 +94,8 @@ switch ( $action ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -50,7 +50,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_My_Sites_Screen">Documentation on My Sites</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_My_Sites_Screen">Documentation on My Sites</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -683,8 +683,8 @@ endif;
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-menus-screen/">Documentation on Menus</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-menus-screen/">Documentation on Menus</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
// Get the admin header. // Get the admin header.

View File

@ -65,8 +65,8 @@ $network_help = '<p>' . __( 'This screen allows you to configure a network as ha
'<p>' . __( 'Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.' ) . '</p>' . '<p>' . __( 'Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.' ) . '</p>' .
'<p>' . __( 'The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.' ) . '</p>' . '<p>' . __( 'The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.' ) . '</p>' .
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>'; '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>';
get_current_screen()->add_help_tab( get_current_screen()->add_help_tab(
array( array(
@ -78,9 +78,9 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -53,7 +53,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin/">Documentation on the Network Admin</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin/">Documentation on the Network Admin</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
); );

View File

@ -61,8 +61,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-settings-screen/">Documentation on Network Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin-settings-screen/">Documentation on Network Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
if ( $_POST ) { if ( $_POST ) {

View File

@ -29,7 +29,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
); );

View File

@ -43,7 +43,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
); );

View File

@ -316,14 +316,14 @@ if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type(
) )
); );
$help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>'; $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
} }
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Themes_Screen">Documentation on Network Themes</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Themes_Screen">Documentation on Network Themes</a>' ) . '</p>' .
$help_sidebar_autoupdates . $help_sidebar_autoupdates .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -29,8 +29,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-updates-screen/">Documentation on Upgrade Network</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin-updates-screen/">Documentation on Upgrade Network</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -29,8 +29,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-discussion-screen/">Documentation on Discussion Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-discussion-screen/">Documentation on Discussion Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -46,8 +46,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-general-screen/">Documentation on General Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-general-screen/">Documentation on General Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';
@ -106,7 +106,7 @@ if ( ! is_multisite() ) {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Enter the same address here unless you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ), __( 'Enter the same address here unless you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
__( 'https://wordpress.org/support/article/giving-wordpress-its-own-directory/' ) __( 'https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/' )
); );
?> ?>
</p> </p>
@ -410,7 +410,7 @@ foreach ( $time_formats as $format ) {
'<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' . '<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' .
"<span class='spinner'></span>\n" . '</p>'; "<span class='spinner'></span>\n" . '</p>';
echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/support/article/formatting-date-and-time/">Documentation on date and time formatting</a>.' ) . "</p>\n"; echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/documentation/article/formatting-date-and-time/">Documentation on date and time formatting</a>.' ) . "</p>\n";
?> ?>
</fieldset> </fieldset>
</td> </td>

View File

@ -38,8 +38,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-media-screen/">Documentation on Media Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-media-screen/">Documentation on Media Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -57,14 +57,14 @@ get_current_screen()->add_help_tab(
); );
$help_sidebar_content = '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . $help_sidebar_content = '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-permalinks-screen/">Documentation on Permalinks Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-permalinks-screen/">Documentation on Permalinks Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/using-permalinks/">Documentation on Using Permalinks</a>' ) . '</p>'; '<p>' . __( '<a href="https://wordpress.org/documentation/article/using-permalinks/">Documentation on Using Permalinks</a>' ) . '</p>';
if ( $is_nginx ) { if ( $is_nginx ) {
$help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/article/nginx/">Documentation on Nginx configuration</a>.' ) . '</p>'; $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/nginx/">Documentation on Nginx configuration</a>.' ) . '</p>';
} }
$help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'; $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>';
get_current_screen()->set_help_sidebar( $help_sidebar_content ); get_current_screen()->set_help_sidebar( $help_sidebar_content );
unset( $help_sidebar_content ); unset( $help_sidebar_content );

View File

@ -44,7 +44,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-privacy-screen/">Documentation on Privacy Settings</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-privacy-screen/">Documentation on Privacy Settings</a>' ) . '</p>'
); );
if ( ! empty( $action ) ) { if ( ! empty( $action ) ) {

View File

@ -32,7 +32,7 @@ get_current_screen()->add_help_tab(
'<p>' . sprintf( '<p>' . sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or an excerpt. <a href="%s">Learn more about feeds</a>.' ), __( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or an excerpt. <a href="%s">Learn more about feeds</a>.' ),
__( 'https://wordpress.org/support/article/wordpress-feeds/' ) __( 'https://wordpress.org/documentation/article/wordpress-feeds/' )
) . '</p>' . ) . '</p>' .
'<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>', '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
) )
@ -50,8 +50,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-reading-screen/">Documentation on Reading Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-reading-screen/">Documentation on Reading Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';
@ -181,7 +181,7 @@ else :
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Your theme determines how content is displayed in browsers. <a href="%s">Learn more about feeds</a>.' ), __( 'Your theme determines how content is displayed in browsers. <a href="%s">Learn more about feeds</a>.' ),
__( 'https://wordpress.org/support/article/wordpress-feeds/' ) __( 'https://wordpress.org/documentation/article/wordpress-feeds/' )
); );
?> ?>
</p> </p>

View File

@ -50,8 +50,8 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/settings-writing-screen/">Documentation on Writing Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-writing-screen/">Documentation on Writing Settings</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';
@ -213,7 +213,7 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see the <a href="%s">Update Services</a> documentation article. Separate multiple service URLs with line breaks.' ), __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see the <a href="%s">Update Services</a> documentation article. Separate multiple service URLs with line breaks.' ),
__( 'https://wordpress.org/support/article/update-services/' ) __( 'https://wordpress.org/documentation/article/update-services/' )
); );
?> ?>
</label></p> </label></p>
@ -227,7 +227,7 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
printf( printf(
/* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */ /* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */
__( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site&#8217;s <a href="%2$s">visibility settings</a>.' ), __( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site&#8217;s <a href="%2$s">visibility settings</a>.' ),
__( 'https://wordpress.org/support/article/update-services/' ), __( 'https://wordpress.org/documentation/article/update-services/' ),
'options-reading.php' 'options-reading.php'
); );
?> ?>

View File

@ -140,9 +140,9 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/plugins-editor-screen/">Documentation on Editing Plugins</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-editor-screen/">Documentation on Editing Plugins</a>' ) . '</p>' .
'<p>' . __( '<a href="https://developer.wordpress.org/plugins/">Documentation on Writing Plugins</a>' ) . '</p>' . '<p>' . __( '<a href="https://developer.wordpress.org/plugins/">Documentation on Writing Plugins</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
$settings = array( $settings = array(
@ -296,7 +296,7 @@ $content = esc_textarea( $content );
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ), __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
__( 'https://wordpress.org/support/article/changing-file-permissions/' ) __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
); );
?> ?>
</p> </p>

View File

@ -118,8 +118,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/plugins-add-new-screen/">Documentation on Installing Plugins</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-add-new-screen/">Documentation on Installing Plugins</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -580,14 +580,14 @@ if ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type(
) )
); );
$help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>'; $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
} }
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/managing-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/managing-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' .
$help_sidebar_autoupdates . $help_sidebar_autoupdates .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -154,8 +154,8 @@ get_current_screen()->add_help_tab(
); );
$revisions_sidebar = '<p><strong>' . __( 'For more information:' ) . '</strong></p>'; $revisions_sidebar = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
$revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/article/revisions/">Revisions Management</a>' ) . '</p>'; $revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/revisions/">Revisions Management</a>' ) . '</p>';
$revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'; $revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>';
get_current_screen()->set_help_sidebar( $revisions_sidebar ); get_current_screen()->set_help_sidebar( $revisions_sidebar );

View File

@ -193,7 +193,7 @@ switch ( $step ) {
printf( printf(
/* translators: 1: Documentation URL, 2: wp-config.php */ /* translators: 1: Documentation URL, 2: wp-config.php */
__( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ), __( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/' ), __( 'https://wordpress.org/documentation/article/editing-wp-config-php/' ),
'<code>wp-config.php</code>' '<code>wp-config.php</code>'
); );
?> ?>
@ -471,7 +471,7 @@ if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) {
/* translators: 1: wp-config.php, 2: Documentation URL. */ /* translators: 1: wp-config.php, 2: Documentation URL. */
__( 'You need to make the file %1$s writable before you can save your changes. See <a href="%2$s">Changing File Permissions</a> for more information.' ), __( 'You need to make the file %1$s writable before you can save your changes. See <a href="%2$s">Changing File Permissions</a> for more information.' ),
'<code>wp-config.php</code>', '<code>wp-config.php</code>',
__( 'https://wordpress.org/support/article/changing-file-permissions/' ) __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
); );
} else { } else {
$error_message = sprintf( $error_message = sprintf(

View File

@ -87,7 +87,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/site-health-screen/">Documentation on Site Health tool</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/documentation/article/site-health-screen/">Documentation on Site Health tool</a>' ) . '</p>'
); );
// Start by checking if this is a special request checking for the existence of certain filters. // Start by checking if this is a special request checking for the existence of certain filters.

View File

@ -50,10 +50,10 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://developer.wordpress.org/themes/">Documentation on Theme Development</a>' ) . '</p>' . '<p>' . __( '<a href="https://developer.wordpress.org/themes/">Documentation on Theme Development</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-editor-screen/">Documentation on Editing Themes</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-editor-screen/">Documentation on Editing Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/editing-files/">Documentation on Editing Files</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/editing-files/">Documentation on Editing Files</a>' ) . '</p>' .
'<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/">Documentation on Template Tags</a>' ) . '</p>' . '<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/">Documentation on Template Tags</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) ); wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) );
@ -326,7 +326,7 @@ else :
printf( printf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ), __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
__( 'https://wordpress.org/support/article/changing-file-permissions/' ) __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
); );
?> ?>
</p> </p>

View File

@ -153,9 +153,9 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/#install-themes">Documentation on Adding New Themes</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-themes-screen/#install-themes">Documentation on Adding New Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/block-themes/">Documentation on Block Themes</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/block-themes/">Documentation on Block Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -199,15 +199,15 @@ if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type(
) )
); );
$help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>'; $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
} // End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'. } // End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'.
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/">Documentation on Managing Themes</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-themes-screen/">Documentation on Managing Themes</a>' ) . '</p>' .
$help_sidebar_autoupdates . $help_sidebar_autoupdates .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
if ( current_user_can( 'switch_themes' ) ) { if ( current_user_can( 'switch_themes' ) ) {

View File

@ -53,8 +53,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-screen/">Documentation on Tools</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-screen/">Documentation on Tools</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
require_once ABSPATH . 'wp-admin/admin-header.php'; require_once ABSPATH . 'wp-admin/admin-header.php';

View File

@ -265,8 +265,8 @@ function core_upgrade_preamble() {
printf( printf(
/* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */ /* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */
__( '<strong>Important:</strong> Before updating, please <a href="%1$s">back up your database and files</a>. For help with updates, visit the <a href="%2$s">Updating WordPress</a> documentation page.' ), __( '<strong>Important:</strong> Before updating, please <a href="%1$s">back up your database and files</a>. For help with updates, visit the <a href="%2$s">Updating WordPress</a> documentation page.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' ), __( 'https://wordpress.org/documentation/article/wordpress-backups/' ),
__( 'https://wordpress.org/support/article/updating-wordpress/' ) __( 'https://wordpress.org/documentation/article/updating-wordpress/' )
); );
echo '</p></div>'; echo '</p></div>';
} elseif ( $is_development_version ) { } elseif ( $is_development_version ) {
@ -1008,14 +1008,14 @@ if ( ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type
) )
); );
$help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>'; $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/documentation/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
} }
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>' ) . '</p>' .
$help_sidebar_autoupdates . $help_sidebar_autoupdates .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
if ( 'upgrade-core' === $action ) { if ( 'upgrade-core' === $action ) {

View File

@ -156,8 +156,8 @@ if ( 'grid' === $mode ) {
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
// Used in the HTML title tag. // Used in the HTML title tag.
@ -349,8 +349,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -74,8 +74,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/users-your-profile-screen/">Documentation on User Profiles</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/users-your-profile-screen/">Documentation on User Profiles</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
$wp_http_referer = remove_query_arg( array( 'update', 'delete_count', 'user_id' ), $wp_http_referer ); $wp_http_referer = remove_query_arg( array( 'update', 'delete_count', 'user_id' ), $wp_http_referer );
@ -333,7 +333,7 @@ switch ( $action ) {
<input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php checked( 'true', $profile_user->comment_shortcuts ); ?> /> <input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php checked( 'true', $profile_user->comment_shortcuts ); ?> />
<?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?> <?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?>
</label> </label>
<?php _e( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ); ?> <?php _e( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ); ?>
</td> </td>
</tr> </tr>
<?php endif; ?> <?php endif; ?>

View File

@ -298,8 +298,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/users-add-new-screen/">Documentation on Adding New Users</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/users-add-new-screen/">Documentation on Adding New Users</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
wp_enqueue_script( 'wp-ajax-response' ); wp_enqueue_script( 'wp-ajax-response' );

View File

@ -79,9 +79,9 @@ unset( $help );
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/users-screen/">Documentation on Managing Users</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/users-screen/">Documentation on Managing Users</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/roles-and-capabilities/">Descriptions of Roles and Capabilities</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/roles-and-capabilities/">Descriptions of Roles and Capabilities</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
get_current_screen()->set_screen_reader_content( get_current_screen()->set_screen_reader_content(

View File

@ -68,8 +68,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar( get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-widgets-screen/">Documentation on Widgets</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-widgets-screen/">Documentation on Widgets</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
); );
// These are the widgets grouped by sidebar. // These are the widgets grouped by sidebar.

View File

@ -13,7 +13,7 @@
* * Database table prefix * * Database table prefix
* * ABSPATH * * ABSPATH
* *
* @link https://wordpress.org/support/article/editing-wp-config-php/ * @link https://wordpress.org/documentation/article/editing-wp-config-php/
* *
* @package WordPress * @package WordPress
*/ */
@ -77,7 +77,7 @@ $table_prefix = 'wp_';
* For information on other constants that can be used for debugging, * For information on other constants that can be used for debugging,
* visit the documentation. * visit the documentation.
* *
* @link https://wordpress.org/support/article/debugging-in-wordpress/ * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
*/ */
define( 'WP_DEBUG', false ); define( 'WP_DEBUG', false );

View File

@ -5689,7 +5689,7 @@ final class WP_Customize_Manager {
$section_description .= __( 'Add your own CSS code here to customize the appearance and layout of your site.' ); $section_description .= __( 'Add your own CSS code here to customize the appearance and layout of your site.' );
$section_description .= sprintf( $section_description .= sprintf(
' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text"> %3$s</span></a>', ' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text"> %3$s</span></a>',
esc_url( __( 'https://wordpress.org/support/article/css/' ) ), esc_url( __( 'https://wordpress.org/documentation/article/css/' ) ),
__( 'Learn more about CSS' ), __( 'Learn more about CSS' ),
/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
__( '(opens in a new tab)' ) __( '(opens in a new tab)' )

View File

@ -198,7 +198,7 @@ class WP_Fatal_Error_Handler {
'<p>%s</p><p><a href="%s">%s</a></p>', '<p>%s</p><p><a href="%s">%s</a></p>',
$message, $message,
/* translators: Documentation about troubleshooting. */ /* translators: Documentation about troubleshooting. */
__( 'https://wordpress.org/support/article/faq-troubleshooting/' ), __( 'https://wordpress.org/documentation/article/faq-troubleshooting/' ),
__( 'Learn more about troubleshooting WordPress.' ) __( 'Learn more about troubleshooting WordPress.' )
); );

View File

@ -4,7 +4,7 @@
* *
* Used internally by the WP_Embed class, but is designed to be generic. * Used internally by the WP_Embed class, but is designed to be generic.
* *
* @link https://wordpress.org/support/article/embeds/ * @link https://wordpress.org/documentation/article/embeds/
* @link http://oembed.com/ * @link http://oembed.com/
* *
* @package WordPress * @package WordPress

View File

@ -50,7 +50,7 @@ class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control {
printf( printf(
/* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */ /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
_x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ), _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ),
__( 'https://wordpress.org/support/article/wordpress-widgets/' ), __( 'https://wordpress.org/documentation/article/wordpress-widgets/' ),
' class="external-link" target="_blank"', ' class="external-link" target="_blank"',
sprintf( sprintf(
'<span class="screen-reader-text"> %s</span>', '<span class="screen-reader-text"> %s</span>',

View File

@ -4963,7 +4963,7 @@ function sanitize_option( $option, $value ) {
$error = sprintf( $error = sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'A structure tag is required when using custom permalinks. <a href="%s">Learn more</a>' ), __( 'A structure tag is required when using custom permalinks. <a href="%s">Learn more</a>' ),
__( 'https://wordpress.org/support/article/using-permalinks/#choosing-your-permalink-structure' ) __( 'https://wordpress.org/documentation/article/using-permalinks/#choosing-your-permalink-structure' )
); );
} }
break; break;

View File

@ -5847,7 +5847,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= ' ' . sprintf( $message .= ' ' . sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ), __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
__( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) __( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' )
); );
trigger_error( trigger_error(
@ -5867,7 +5867,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= sprintf( $message .= sprintf(
' Please see <a href="%s">Debugging in WordPress</a> for more information.', ' Please see <a href="%s">Debugging in WordPress</a> for more information.',
'https://wordpress.org/support/article/debugging-in-wordpress/' 'https://wordpress.org/documentation/article/debugging-in-wordpress/'
); );
trigger_error( trigger_error(
@ -8177,7 +8177,7 @@ function wp_get_update_https_url() {
*/ */
function wp_get_default_update_https_url() { function wp_get_default_update_https_url() {
/* translators: Documentation explaining HTTPS and why it should be used. */ /* translators: Documentation explaining HTTPS and why it should be used. */
return __( 'https://wordpress.org/support/article/why-should-i-use-https/' ); return __( 'https://wordpress.org/documentation/article/why-should-i-use-https/' );
} }
/** /**

View File

@ -493,7 +493,7 @@ function ms_not_installed( $domain, $path ) {
$msg .= sprintf( $msg .= sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Read the <a href="%s" target="_blank">Debugging a WordPress Network</a> article. Some of the suggestions there may help you figure out what went wrong.' ), __( 'Read the <a href="%s" target="_blank">Debugging a WordPress Network</a> article. Some of the suggestions there may help you figure out what went wrong.' ),
__( 'https://wordpress.org/support/article/debugging-a-wordpress-network/' ) __( 'https://wordpress.org/documentation/article/debugging-a-wordpress-network/' )
); );
$msg .= ' ' . __( 'If you are still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>'; $msg .= ' ' . __( 'If you are still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>';
foreach ( $wpdb->tables( 'global' ) as $t => $table ) { foreach ( $wpdb->tables( 'global' ) as $t => $table ) {

View File

@ -1294,7 +1294,7 @@ function wp_default_scripts( $scripts ) {
'blockThemeNotification' => sprintf( 'blockThemeNotification' => sprintf(
/* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */ /* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */
__( 'Hurray! Your theme supports site editing with blocks. <a href="%1$s">Tell me more</a>. %2$s' ), __( 'Hurray! Your theme supports site editing with blocks. <a href="%1$s">Tell me more</a>. %2$s' ),
__( 'https://wordpress.org/support/article/site-editor/' ), __( 'https://wordpress.org/documentation/article/site-editor/' ),
sprintf( sprintf(
'<button type="button" data-action="%1$s" class="button switch-to-editor">%2$s</button>', '<button type="button" data-action="%1$s" class="button switch-to-editor">%2$s</button>',
esc_url( admin_url( 'site-editor.php' ) ), esc_url( admin_url( 'site-editor.php' ) ),

View File

@ -3274,7 +3274,7 @@ function retrieve_password( $user_login = null ) {
sprintf( sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( '<strong>Error:</strong> The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ), __( '<strong>Error:</strong> The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ),
esc_url( __( 'https://wordpress.org/support/article/resetting-your-password/' ) ) esc_url( __( 'https://wordpress.org/documentation/article/resetting-your-password/' ) )
) )
); );
return $errors; return $errors;

View File

@ -10,7 +10,7 @@
* servers with known pretty permalink capability. * servers with known pretty permalink capability.
* *
* Note: Though Nginx is detected, WordPress does not currently * Note: Though Nginx is detected, WordPress does not currently
* generate rewrite rules for it. See https://wordpress.org/support/article/nginx/ * generate rewrite rules for it. See https://wordpress.org/documentation/article/nginx/
* *
* @package WordPress * @package WordPress
*/ */

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.2-beta3-55411'; $wp_version = '6.2-beta3-55412';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -10,7 +10,7 @@
* This functionality was found in a plugin before the WordPress 2.2 release, which * This functionality was found in a plugin before the WordPress 2.2 release, which
* included it in the core from that point on. * included it in the core from that point on.
* *
* @link https://wordpress.org/support/article/wordpress-widgets/ * @link https://wordpress.org/documentation/article/wordpress-widgets/
* @link https://developer.wordpress.org/themes/functionality/widgets/ * @link https://developer.wordpress.org/themes/functionality/widgets/
* *
* @package WordPress * @package WordPress

View File

@ -89,7 +89,7 @@ if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
$die .= '<p>' . sprintf( $die .= '<p>' . sprintf(
/* translators: 1: Documentation URL, 2: wp-config.php */ /* translators: 1: Documentation URL, 2: wp-config.php */
__( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ), __( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
__( 'https://wordpress.org/support/article/editing-wp-config-php/' ), __( 'https://wordpress.org/documentation/article/editing-wp-config-php/' ),
'<code>wp-config.php</code>' '<code>wp-config.php</code>'
) . '</p>'; ) . '</p>';
$die .= '<p>' . sprintf( $die .= '<p>' . sprintf(

View File

@ -651,7 +651,7 @@ switch ( $action ) {
<?php <?php
/* translators: URL to the WordPress help section about admin email. */ /* translators: URL to the WordPress help section about admin email. */
$admin_email_help_url = __( 'https://wordpress.org/support/article/settings-general-screen/#email-address' ); $admin_email_help_url = __( 'https://wordpress.org/documentation/article/settings-general-screen/#email-address' );
$accessibility_text = sprintf( $accessibility_text = sprintf(
'<span class="screen-reader-text"> %s</span>', '<span class="screen-reader-text"> %s</span>',
@ -1247,7 +1247,7 @@ switch ( $action ) {
sprintf( sprintf(
/* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */ /* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */
__( '<strong>Error:</strong> Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ), __( '<strong>Error:</strong> Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ),
__( 'https://wordpress.org/support/article/cookies/' ), __( 'https://wordpress.org/documentation/article/cookies/' ),
__( 'https://wordpress.org/support/forums/' ) __( 'https://wordpress.org/support/forums/' )
) )
); );
@ -1258,7 +1258,7 @@ switch ( $action ) {
sprintf( sprintf(
/* translators: %s: Browser cookie documentation URL. */ /* translators: %s: Browser cookie documentation URL. */
__( '<strong>Error:</strong> Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), __( '<strong>Error:</strong> Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),
__( 'https://wordpress.org/support/article/cookies/#enable-cookies-in-your-browser' ) __( 'https://wordpress.org/documentation/article/cookies/#enable-cookies-in-your-browser' )
) )
); );
} }