Skip to content

Commit

Permalink
Help/About: Use the new /documentation/ URLs for links about WordPr…
Browse files Browse the repository at this point in the history
…ess 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
  • Loading branch information
audrasjb committed Apr 4, 2023
1 parent 3b39b2c commit 9fe7d42
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
__( '<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'
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/includes/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
);

Expand Down
2 changes: 1 addition & 1 deletion wp-admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
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 )
);

Expand Down
2 changes: 1 addition & 1 deletion wp-admin/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function display_setup_form( $error = null ) {

$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 )
);

Expand Down
2 changes: 1 addition & 1 deletion wp-admin/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
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 )
);

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9fe7d42

Please sign in to comment.