Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes.

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.

Built from https://develop.svn.wordpress.org/trunk@55413


git-svn-id: http://core.svn.wordpress.org/trunk@54946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-23 10:49:19 +00:00
parent 418a21fdbc
commit 0000d83e08
23 changed files with 47 additions and 47 deletions

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages.
*
* @link https://wordpress.org/support/article/post-formats/
* @link https://wordpress.org/documentation/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages.
*
* @link https://wordpress.org/support/article/post-formats/
* @link https://wordpress.org/documentation/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages.
*
* @link https://wordpress.org/support/article/post-formats/
* @link https://wordpress.org/documentation/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages
*
* @link https://wordpress.org/support/article/post-formats/
* @link https://wordpress.org/documentation/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven

View File

@ -4,7 +4,7 @@
*
* Used on index and archive pages
*
* @link https://wordpress.org/support/article/post-formats/
* @link https://wordpress.org/documentation/article/post-formats/
*
* @package WordPress
* @subpackage Twenty_Eleven

View File

@ -118,7 +118,7 @@ function twentyeleven_theme_options_help() {
'<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>';
$sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/appearance-customize-screen/" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-customize-screen/" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>', 'twentyeleven' ) . '</p>';
$screen = get_current_screen();

View File

@ -109,7 +109,7 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) :
/*
* Enable support for Post Formats.
*
* See: https://wordpress.org/support/article/post-formats/
* See: https://wordpress.org/documentation/article/post-formats/
*/
add_theme_support(
'post-formats',

View File

@ -18,14 +18,14 @@ Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty
* Post Formats
* The GPL v2.0 or later license. :) Use it to make something cool.
For more information about Twenty Fifteen please go to https://wordpress.org/support/article/twenty-fifteen/.
For more information about Twenty Fifteen please go to https://wordpress.org/documentation/article/twenty-fifteen/.
== Installation ==
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Fifteen in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://wordpress.org/support/article/twenty-fifteen/ for a guide on how to customize this theme.
4. Go to https://wordpress.org/documentation/article/twenty-fifteen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.
== Copyright ==

View File

@ -160,7 +160,7 @@ if ( ! function_exists( 'twentyfourteen_setup' ) ) :
/*
* Enable support for Post Formats.
* See https://wordpress.org/support/article/post-formats/
* See https://wordpress.org/documentation/article/post-formats/
*/
add_theme_support(
'post-formats',

View File

@ -12,14 +12,14 @@ Our 2019 default theme is designed to show off the power of the block editor.
== Description ==
Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether youre running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
For more information about Twenty Nineteen please go to https://wordpress.org/support/article/twenty-nineteen/.
For more information about Twenty Nineteen please go to https://wordpress.org/documentation/article/twenty-nineteen/.
== Installation ==
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Nineteen in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://wordpress.org/support/article/twenty-nineteen/ for a guide on how to customize this theme.
4. Go to https://wordpress.org/documentation/article/twenty-nineteen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.
== Copyright ==

View File

@ -91,7 +91,7 @@ function twentyseventeen_setup() {
/*
* Enable support for Post Formats.
*
* See: https://wordpress.org/support/article/post-formats/
* See: https://wordpress.org/documentation/article/post-formats/
*/
add_theme_support(
'post-formats',

View File

@ -10,14 +10,14 @@ Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-rea
Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
For more information about Twenty Seventeen please go to https://wordpress.org/support/article/twenty-seventeen/.
For more information about Twenty Seventeen please go to https://wordpress.org/documentation/article/twenty-seventeen/.
== Installation ==
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Seventeen in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://wordpress.org/support/article/twenty-seventeen/ for a guide on how to customize this theme.
4. Go to https://wordpress.org/documentation/article/twenty-seventeen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.
== Copyright ==

View File

@ -115,7 +115,7 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) :
/*
* Enable support for Post Formats.
*
* See: https://wordpress.org/support/article/post-formats/
* See: https://wordpress.org/documentation/article/post-formats/
*/
add_theme_support(
'post-formats',

View File

@ -16,14 +16,14 @@ Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the
* Post Formats
* The GPL v2.0 or later license. :) Use it to make something cool.
For more information about Twenty Sixteen please go to https://wordpress.org/support/article/twenty-sixteen/.
For more information about Twenty Sixteen please go to https://wordpress.org/documentation/article/twenty-sixteen/.
== Installation ==
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Sixteen in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to https://wordpress.org/support/article/twenty-sixteen/ for a guide on how to customize this theme.
4. Go to https://wordpress.org/documentation/article/twenty-sixteen/ for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to taste.
== Copyright ==

View File

@ -214,7 +214,7 @@ function twentythirteen_setup() {
/*
* This theme supports all available post formats by default.
* See https://wordpress.org/support/article/post-formats/
* See https://wordpress.org/documentation/article/post-formats/
*/
add_theme_support(
'post-formats',

View File

@ -25,57 +25,57 @@ you pick, ensuring a high, accessible color contrast for your visitors.
= 2.1 =
* Released: November 1, 2022
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_2.1
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_2.1
= 2.0 =
* Released: May 24, 2022
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_2.0
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_2.0
= 1.9 =
* Released: January 25, 2022
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.9
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.9
= 1.8 =
* Released: July 20, 2021
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.8
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.8
= 1.7 =
* Released: March 9, 2021
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.7
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.7
= 1.6 =
* Released: December 8, 2020
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.6
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.6
= 1.5 =
* Released: August 11, 2020
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.5
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.5
= 1.4 =
* Released: June 10, 2020
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.4
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.4
= 1.3 =
* Released: May 14, 2020
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.3
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.3
= 1.2 =
* Released: March 31, 2020
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.2
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.2
= 1.1 =
* Released: December 12, 2019
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.1
https://wordpress.org/documentation/article/twenty-twenty-changelog/#Version_1.1
= 1.0 =
* Released: November 12, 2019

View File

@ -37,7 +37,7 @@ class Twenty_Twenty_One_Customize_Notice_Control extends WP_Customize_Control {
?>
<div class="notice notice-warning">
<p><?php esc_html_e( 'To access the Dark Mode settings, select a light background color.', 'twentytwentyone' ); ?></p>
<p><a href="<?php echo esc_url( __( 'https://wordpress.org/support/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) ); ?>">
<p><a href="<?php echo esc_url( __( 'https://wordpress.org/documentation/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) ); ?>">
<?php esc_html_e( 'Learn more about Dark Mode.', 'twentytwentyone' ); ?>
</a></p>
</div><!-- .notice -->

View File

@ -175,7 +175,7 @@ class Twenty_Twenty_One_Dark_Mode {
$description .= sprintf(
/* translators: %s: Twenty Twenty-One support article URL. */
__( 'Dark Mode is a device setting. If a visitor to your site requests it, your site will be shown with a dark background and light text. <a href="%s">Learn more about Dark Mode.</a>', 'twentytwentyone' ),
esc_url( __( 'https://wordpress.org/support/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) )
esc_url( __( 'https://wordpress.org/documentation/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) )
);
$description .= '</p>';
$description .= '<p>' . __( 'Dark Mode can also be turned on and off with a button that you can find in the bottom corner of the page.', 'twentytwentyone' ) . '</p>';

View File

@ -119,7 +119,7 @@ function twenty_twenty_one_get_starter_content() {
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:paragraph -->
<p><a href="https://wordpress.org/support/article/twenty-twenty-one/">' . esc_html_x( 'Read the Theme Documentation', 'Theme starter content', 'twentytwentyone' ) . '</a></p>
<p><a href="https://wordpress.org/documentation/article/twenty-twenty-one/">' . esc_html_x( 'Read the Theme Documentation', 'Theme starter content', 'twentytwentyone' ) . '</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->

View File

@ -33,42 +33,42 @@ No data is saved in the database or transferred.
= 1.7 =
* Released: November 1, 2022
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.7
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.7
= 1.6 =
* Released: May 24, 2022
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.6
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.6
= 1.5 =
* Released: January 25, 2022
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.5
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.5
= 1.4 =
* Released: July 20, 2021
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.4
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.4
= 1.3 =
* Released: April 14, 2021
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.3
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.3
= 1.2 =
* Released: March 9, 2021
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.2
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.2
= 1.1 =
* Released: December 22, 2020
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.1
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.1
= 1.0 =
* Released: December 8, 2020
https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.0
https://wordpress.org/documentation/article/twenty-twenty-one-changelog/#Version_1.0
== Copyright ==

View File

@ -18,7 +18,7 @@ Whether you want to build a complex or incredibly simple website, you can do it
= 1.0 =
* Released: November 1, 2022
https://wordpress.org/support/article/twenty-twenty-three-changelog#Version_1.0
https://wordpress.org/documentation/article/twenty-twenty-three-changelog/#Version_1.0
== Copyright ==

View File

@ -20,22 +20,22 @@ Whether youre building a single-page website, a blog, a business website, or
= 1.3 =
* Released: November 1, 2022
https://wordpress.org/support/article/twenty-twenty-two-changelog#Version_1.3
https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.3
= 1.2 =
* Released: May 24, 2022
https://wordpress.org/support/article/twenty-twenty-two-changelog#Version_1.2
https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.2
= 1.1 =
* Released: February 22, 2022
https://wordpress.org/support/article/twenty-twenty-two-changelog#Version_1.1
https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.1
= 1.0 =
* Released: January 25, 2022
https://wordpress.org/support/article/twenty-twenty-two-changelog#Version_1.0
https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.0
== Copyright ==

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-beta3-55412';
$wp_version = '6.2-beta3-55413';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.