mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin.
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5689,7 +5689,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(
|
||||
' <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/support/article/css/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/article/css/' ) ),
|
||||
__( 'Learn more about CSS' ),
|
||||
/* translators: Hidden accessibility text. */
|
||||
__( '(opens in a new tab)' )
|
||||
|
||||
@@ -198,7 +198,7 @@ class WP_Fatal_Error_Handler {
|
||||
'<p>%s</p><p><a href="%s">%s</a></p>',
|
||||
$message,
|
||||
/* translators: Documentation about troubleshooting. */
|
||||
__( 'https://wordpress.org/support/article/faq-troubleshooting/' ),
|
||||
__( 'https://wordpress.org/documentation/article/faq-troubleshooting/' ),
|
||||
__( 'Learn more about troubleshooting WordPress.' )
|
||||
);
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* Used internally by the WP_Embed class, but is designed to be generic.
|
||||
*
|
||||
* @link https://wordpress.org/support/article/embeds/
|
||||
* @link https://wordpress.org/documentation/article/embeds/
|
||||
* @link http://oembed.com/
|
||||
*
|
||||
* @package WordPress
|
||||
|
||||
@@ -50,7 +50,7 @@ class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control {
|
||||
printf(
|
||||
/* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
|
||||
_x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ),
|
||||
__( 'https://wordpress.org/support/article/wordpress-widgets/' ),
|
||||
__( 'https://wordpress.org/documentation/article/wordpress-widgets/' ),
|
||||
' class="external-link" target="_blank"',
|
||||
sprintf(
|
||||
'<span class="screen-reader-text"> %s</span>',
|
||||
|
||||
@@ -4963,7 +4963,7 @@ function sanitize_option( $option, $value ) {
|
||||
$error = sprintf(
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( 'A structure tag is required when using custom permalinks. <a href="%s">Learn more</a>' ),
|
||||
__( 'https://wordpress.org/support/article/using-permalinks/#choosing-your-permalink-structure' )
|
||||
__( 'https://wordpress.org/documentation/article/using-permalinks/#choosing-your-permalink-structure' )
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -5847,7 +5847,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/support/article/debugging-in-wordpress/' )
|
||||
__( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' )
|
||||
);
|
||||
|
||||
trigger_error(
|
||||
@@ -5867,7 +5867,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/support/article/debugging-in-wordpress/'
|
||||
'https://wordpress.org/documentation/article/debugging-in-wordpress/'
|
||||
);
|
||||
|
||||
trigger_error(
|
||||
@@ -8177,7 +8177,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/support/article/why-should-i-use-https/' );
|
||||
return __( 'https://wordpress.org/documentation/article/why-should-i-use-https/' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -493,7 +493,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/support/article/debugging-a-wordpress-network/' )
|
||||
__( 'https://wordpress.org/documentation/article/debugging-a-wordpress-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 ) {
|
||||
|
||||
@@ -1294,7 +1294,7 @@ function wp_default_scripts( $scripts ) {
|
||||
'blockThemeNotification' => sprintf(
|
||||
/* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */
|
||||
__( 'Hurray! Your theme supports site editing with blocks. <a href="%1$s">Tell me more</a>. %2$s' ),
|
||||
__( 'https://wordpress.org/support/article/site-editor/' ),
|
||||
__( 'https://wordpress.org/documentation/article/site-editor/' ),
|
||||
sprintf(
|
||||
'<button type="button" data-action="%1$s" class="button switch-to-editor">%2$s</button>',
|
||||
esc_url( admin_url( 'site-editor.php' ) ),
|
||||
|
||||
@@ -3274,7 +3274,7 @@ function retrieve_password( $user_login = null ) {
|
||||
sprintf(
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( '<strong>Error:</strong> The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ),
|
||||
esc_url( __( 'https://wordpress.org/support/article/resetting-your-password/' ) )
|
||||
esc_url( __( 'https://wordpress.org/documentation/article/resetting-your-password/' ) )
|
||||
)
|
||||
);
|
||||
return $errors;
|
||||
|
||||
@@ -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/support/article/nginx/
|
||||
* generate rewrite rules for it. See https://wordpress.org/documentation/article/nginx/
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* This functionality was found in a plugin before the WordPress 2.2 release, which
|
||||
* included it in the core from that point on.
|
||||
*
|
||||
* @link https://wordpress.org/support/article/wordpress-widgets/
|
||||
* @link https://wordpress.org/documentation/article/wordpress-widgets/
|
||||
* @link https://developer.wordpress.org/themes/functionality/widgets/
|
||||
*
|
||||
* @package WordPress
|
||||
|
||||
Reference in New Issue
Block a user