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. Built from https://develop.svn.wordpress.org/trunk@55624 git-svn-id: http://core.svn.wordpress.org/trunk@55136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3b39b2c99c
commit
9fe7d42f6a
|
@ -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 )
|
||||
);
|
||||
|
||||
|
|
|
@ -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 )
|
||||
);
|
||||
|
||||
|
|
|
@ -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 )
|
||||
);
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55623';
|
||||
$wp_version = '6.3-alpha-55624';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue