mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Help/About: Use the new /documentation/
URLs for links about WordPress version.
As `https://wordpress.org/support/` was redirected to `https://wordpress.org/documentation/`, this changeset replaces various `/support/*` links with `/documentation/*` to avoid extra redirects. Follow-up to [55412], [55413], [55414]. Props wildworks. See #58052, #57726. git-svn-id: https://develop.svn.wordpress.org/trunk@55624 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e2e696ea33
commit
75072ed2e9
@ -116,7 +116,7 @@ $is_dev_version = preg_match( '/alpha|beta|RC/', $wp_version );
|
||||
if ( ! $is_dev_version ) {
|
||||
$version_url = sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( $wp_version )
|
||||
);
|
||||
|
||||
|
@ -266,7 +266,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
__( '<a href="%1$s">Read the WordPress %2$s Release Notes</a> for more information on the included enhancements and issues fixed, installation information, developer notes and resources, release contributors, and the list of file changes in this release.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||
'6-2'
|
||||
),
|
||||
'6.2'
|
||||
|
@ -303,7 +303,7 @@ function update_nag() {
|
||||
|
||||
$version_url = sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( $cur->current )
|
||||
);
|
||||
|
||||
|
@ -244,7 +244,7 @@ $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>='
|
||||
|
||||
$version_url = sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( $wp_version )
|
||||
);
|
||||
|
||||
|
@ -78,7 +78,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option
|
||||
elseif ( ! $php_compat || ! $mysql_compat ) :
|
||||
$version_url = sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( $wp_version )
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user