From 5cdfecb35e80ab36ca10d08db6daedaefe375e3c Mon Sep 17 00:00:00 2001
From: audrasjb
Date: Mon, 11 Mar 2024 14:08:10 +0000
Subject: [PATCH] Docs: Update various HelpHub links to avoid unnecessary
redirections.
Follow-up to [57793], [57798], [57800].
Props mkismy.
See #60732, #60699.
Built from https://develop.svn.wordpress.org/trunk@57801
git-svn-id: http://core.svn.wordpress.org/trunk@57302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-config-sample.php | 4 ++--
wp-includes/class-wp-customize-manager.php | 2 +-
wp-includes/class-wp-oembed.php | 2 +-
wp-includes/functions.php | 6 +++---
wp-includes/ms-load.php | 2 +-
wp-includes/vars.php | 2 +-
wp-includes/version.php | 2 +-
wp-login.php | 4 ++--
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/wp-config-sample.php b/wp-config-sample.php
index 6c4ea5f376..bdea5cd755 100644
--- a/wp-config-sample.php
+++ b/wp-config-sample.php
@@ -13,7 +13,7 @@
* * Database table prefix
* * ABSPATH
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -77,7 +77,7 @@ $table_prefix = 'wp_';
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', false );
diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php
index baad9fedab..e06c77d29c 100644
--- a/wp-includes/class-wp-customize-manager.php
+++ b/wp-includes/class-wp-customize-manager.php
@@ -5695,7 +5695,7 @@ final class WP_Customize_Manager {
$section_description .= __( 'Add your own CSS code here to customize the appearance and layout of your site.' );
$section_description .= sprintf(
' %2$s %3$s',
- esc_url( __( 'https://wordpress.org/documentation/article/css/' ) ),
+ esc_url( __( 'https://developer.wordpress.org/advanced-administration/wordpress/css/' ) ),
__( 'Learn more about CSS' ),
/* translators: Hidden accessibility text. */
__( '(opens in a new tab)' )
diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php
index 91f9cd68be..c428723537 100644
--- a/wp-includes/class-wp-oembed.php
+++ b/wp-includes/class-wp-oembed.php
@@ -4,7 +4,7 @@
*
* Used internally by the WP_Embed class, but is designed to be generic.
*
- * @link https://wordpress.org/documentation/article/embeds/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/oembed/
* @link http://oembed.com/
*
* @package WordPress
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index fd305be20b..5a5435d33f 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -5991,7 +5991,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= ' ' . sprintf(
/* translators: %s: Documentation URL. */
__( 'Please see Debugging in WordPress for more information.' ),
- __( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' )
+ __( 'https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/' )
);
$message = sprintf(
@@ -6008,7 +6008,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= sprintf(
' Please see Debugging in WordPress for more information.',
- 'https://wordpress.org/documentation/article/debugging-in-wordpress/'
+ 'https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/'
);
$message = sprintf(
@@ -8505,7 +8505,7 @@ function wp_get_update_https_url() {
*/
function wp_get_default_update_https_url() {
/* translators: Documentation explaining HTTPS and why it should be used. */
- return __( 'https://wordpress.org/documentation/article/why-should-i-use-https/' );
+ return __( 'https://developer.wordpress.org/advanced-administration/security/https/' );
}
/**
diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php
index afac9b1147..661d6a9f93 100644
--- a/wp-includes/ms-load.php
+++ b/wp-includes/ms-load.php
@@ -497,7 +497,7 @@ function ms_not_installed( $domain, $path ) {
$msg .= sprintf(
/* translators: %s: Documentation URL. */
__( 'Read the Debugging a WordPress Network article. Some of the suggestions there may help you figure out what went wrong.' ),
- __( 'https://wordpress.org/documentation/article/debugging-a-wordpress-network/' )
+ __( 'https://developer.wordpress.org/advanced-administration/debug/debug-network/' )
);
$msg .= ' ' . __( 'If you are still stuck with this message, then check that your database contains the following tables:' ) . '
';
foreach ( $wpdb->tables( 'global' ) as $t => $table ) {
diff --git a/wp-includes/vars.php b/wp-includes/vars.php
index a123696cb2..74a9cef032 100644
--- a/wp-includes/vars.php
+++ b/wp-includes/vars.php
@@ -10,7 +10,7 @@
* servers with known pretty permalink capability.
*
* Note: Though Nginx is detected, WordPress does not currently
- * generate rewrite rules for it. See https://wordpress.org/documentation/article/nginx/
+ * generate rewrite rules for it. See https://developer.wordpress.org/advanced-administration/server/web-server/nginx/
*
* @package WordPress
*/
diff --git a/wp-includes/version.php b/wp-includes/version.php
index a504f19c57..2aa361c866 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.6-alpha-57800';
+$wp_version = '6.6-alpha-57801';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
diff --git a/wp-login.php b/wp-login.php
index 9eeac4a96c..1eceaf0732 100644
--- a/wp-login.php
+++ b/wp-login.php
@@ -1317,7 +1317,7 @@ switch ( $action ) {
sprintf(
/* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */
__( 'Error: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.' ),
- __( 'https://wordpress.org/documentation/article/cookies/' ),
+ __( 'https://developer.wordpress.org/advanced-administration/wordpress/cookies/' ),
__( 'https://wordpress.org/support/forums/' )
)
);
@@ -1328,7 +1328,7 @@ switch ( $action ) {
sprintf(
/* translators: %s: Browser cookie documentation URL. */
__( 'Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.' ),
- __( 'https://wordpress.org/documentation/article/cookies/#enable-cookies-in-your-browser' )
+ __( 'https://developer.wordpress.org/advanced-administration/wordpress/cookies/#enable-cookies-in-your-browser' )
)
);
}