mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Help/About: Avoid extra redirections on HelpHub Links.
This changeset replaces various HelpHub links that have changed to avoid extra 301 redirections. Props sabernhardt, audrasjb. See #57726. git-svn-id: https://develop.svn.wordpress.org/trunk@55414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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/documentation/article/wordpress-widgets/' ),
|
||||
__( 'https://wordpress.org/documentation/article/manage-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/documentation/article/using-permalinks/#choosing-your-permalink-structure' )
|
||||
__( 'https://wordpress.org/documentation/article/customize-permalinks/#choosing-your-permalink-structure' )
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -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/documentation/article/resetting-your-password/' ) )
|
||||
esc_url( __( 'https://wordpress.org/documentation/article/reset-your-password/' ) )
|
||||
)
|
||||
);
|
||||
return $errors;
|
||||
|
||||
@@ -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/documentation/article/wordpress-widgets/
|
||||
* @link https://wordpress.org/documentation/article/manage-wordpress-widgets/
|
||||
* @link https://developer.wordpress.org/themes/functionality/widgets/
|
||||
*
|
||||
* @package WordPress
|
||||
|
||||
Reference in New Issue
Block a user