Skip to content

Commit

Permalink
Docs: Update various HelpHub links to avoid unnecessary redirections.
Browse files Browse the repository at this point in the history
Follow-up to [57793], [57798], [57800].

Props mkismy.
See #60732, #60699.





git-svn-id: https://develop.svn.wordpress.org/trunk@57801 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Mar 11, 2024
1 parent 68fa550 commit e5a7795
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -5695,7 +5695,7 @@ public function register_controls() {
$section_description .= __( 'Add your own CSS code here to customize the appearance and layout of your site.' );
$section_description .= sprintf(
' <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' ),
/* translators: Hidden accessibility text. */
__( '(opens in a new tab)' )
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-oembed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5991,7 +5991,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {
$message .= ' ' . sprintf(
/* translators: %s: Documentation URL. */
__( '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(
Expand All @@ -6008,7 +6008,7 @@ function _doing_it_wrong( $function_name, $message, $version ) {

$message .= sprintf(
' 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(
Expand Down Expand Up @@ -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/' );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/ms-load.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ function ms_not_installed( $domain, $path ) {
$msg .= sprintf(
/* 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.' ),
__( '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>';
foreach ( $wpdb->tables( 'global' ) as $t => $table ) {
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/vars.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/wp-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ function wp_login_viewport_meta() {
sprintf(
/* 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>.' ),
__( 'https://wordpress.org/documentation/article/cookies/' ),
__( 'https://developer.wordpress.org/advanced-administration/wordpress/cookies/' ),
__( 'https://wordpress.org/support/forums/' )
)
);
Expand All @@ -1328,7 +1328,7 @@ function wp_login_viewport_meta() {
sprintf(
/* 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.' ),
__( 'https://wordpress.org/documentation/article/cookies/#enable-cookies-in-your-browser' )
__( 'https://developer.wordpress.org/advanced-administration/wordpress/cookies/#enable-cookies-in-your-browser' )
)
);
}
Expand Down
4 changes: 2 additions & 2 deletions wp-config-sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -77,7 +77,7 @@
* 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 );

Expand Down

0 comments on commit e5a7795

Please sign in to comment.