mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -265,8 +265,8 @@ function core_upgrade_preamble() {
|
||||
printf(
|
||||
/* 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.' ),
|
||||
__( 'https://wordpress.org/support/article/wordpress-backups/' ),
|
||||
__( 'https://wordpress.org/support/article/updating-wordpress/' )
|
||||
__( 'https://wordpress.org/documentation/article/wordpress-backups/' ),
|
||||
__( 'https://wordpress.org/documentation/article/updating-wordpress/' )
|
||||
);
|
||||
echo '</p></div>';
|
||||
} 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(
|
||||
'<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 .
|
||||
'<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 ) {
|
||||
|
||||
Reference in New Issue
Block a user