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
This commit is contained in:
audrasjb 2024-03-11 14:08:10 +00:00
parent cfe6f501e2
commit 5cdfecb35e
8 changed files with 12 additions and 12 deletions

View File

@ -13,7 +13,7 @@
* * Database table prefix * * Database table prefix
* * ABSPATH * * ABSPATH
* *
* @link https://wordpress.org/documentation/article/editing-wp-config-php/ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
* *
* @package WordPress * @package WordPress
*/ */
@ -77,7 +77,7 @@ $table_prefix = 'wp_';
* For information on other constants that can be used for debugging, * For information on other constants that can be used for debugging,
* visit the documentation. * 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 ); define( 'WP_DEBUG', false );

View File

@ -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 .= __( 'Add your own CSS code here to customize the appearance and layout of your site.' );
$section_description .= sprintf( $section_description .= sprintf(
' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text"> %3$s</span></a>', ' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text"> %3$s</span></a>',
esc_url( __( 'https://wordpress.org/documentation/article/css/' ) ), esc_url( __( 'https://developer.wordpress.org/advanced-administration/wordpress/css/' ) ),
__( 'Learn more about CSS' ), __( 'Learn more about CSS' ),
/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
__( '(opens in a new tab)' ) __( '(opens in a new tab)' )

View File

@ -4,7 +4,7 @@
* *
* Used internally by the WP_Embed class, but is designed to be generic. * 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/ * @link http://oembed.com/
* *
* @package WordPress * @package WordPress

View File

@ -5991,7 +5991,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= ' ' . sprintf( $message .= ' ' . sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ), __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
__( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' ) __( 'https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/' )
); );
$message = sprintf( $message = sprintf(
@ -6008,7 +6008,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= sprintf( $message .= sprintf(
' Please see <a href="%s">Debugging in WordPress</a> for more information.', ' Please see <a href="%s">Debugging in WordPress</a> for more information.',
'https://wordpress.org/documentation/article/debugging-in-wordpress/' 'https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/'
); );
$message = sprintf( $message = sprintf(
@ -8505,7 +8505,7 @@ function wp_get_update_https_url() {
*/ */
function wp_get_default_update_https_url() { function wp_get_default_update_https_url() {
/* translators: Documentation explaining HTTPS and why it should be used. */ /* 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/' );
} }
/** /**

View File

@ -497,7 +497,7 @@ function ms_not_installed( $domain, $path ) {
$msg .= sprintf( $msg .= sprintf(
/* translators: %s: Documentation URL. */ /* translators: %s: Documentation URL. */
__( 'Read the <a href="%s" target="_blank">Debugging a WordPress Network</a> article. Some of the suggestions there may help you figure out what went wrong.' ), __( 'Read the <a href="%s" target="_blank">Debugging a WordPress Network</a> 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:' ) . '</p><ul>'; $msg .= ' ' . __( 'If you are still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>';
foreach ( $wpdb->tables( 'global' ) as $t => $table ) { foreach ( $wpdb->tables( 'global' ) as $t => $table ) {

View File

@ -10,7 +10,7 @@
* servers with known pretty permalink capability. * servers with known pretty permalink capability.
* *
* Note: Though Nginx is detected, WordPress does not currently * 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 * @package WordPress
*/ */

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -1317,7 +1317,7 @@ switch ( $action ) {
sprintf( sprintf(
/* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */ /* translators: 1: Browser cookie documentation URL, 2: Support forums URL. */
__( '<strong>Error:</strong> Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ), __( '<strong>Error:</strong> Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ),
__( 'https://wordpress.org/documentation/article/cookies/' ), __( 'https://developer.wordpress.org/advanced-administration/wordpress/cookies/' ),
__( 'https://wordpress.org/support/forums/' ) __( 'https://wordpress.org/support/forums/' )
) )
); );
@ -1328,7 +1328,7 @@ switch ( $action ) {
sprintf( sprintf(
/* translators: %s: Browser cookie documentation URL. */ /* translators: %s: Browser cookie documentation URL. */
__( '<strong>Error:</strong> Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), __( '<strong>Error:</strong> Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> 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' )
) )
); );
} }