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.


git-svn-id: https://develop.svn.wordpress.org/trunk@55412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-02-23 10:36:33 +00:00
parent e2ce8d4815
commit 0a422d3f4b
74 changed files with 162 additions and 162 deletions
+4 -4
View File
@@ -50,8 +50,8 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
get_current_screen()->set_help_sidebar(
'<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/support/">Support</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/forums/">Support forums</a>' ) . '</p>'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
@@ -213,7 +213,7 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
printf(
/* 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.' ),
__( 'https://wordpress.org/support/article/update-services/' )
__( 'https://wordpress.org/documentation/article/update-services/' )
);
?>
</label></p>
@@ -227,7 +227,7 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
printf(
/* 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>.' ),
__( 'https://wordpress.org/support/article/update-services/' ),
__( 'https://wordpress.org/documentation/article/update-services/' ),
'options-reading.php'
);
?>