Site Health: Use consistent verbiage for "Learn more" links.
Props ronakganatra, garrett-eclipse. Fixes #47302. git-svn-id: https://develop.svn.wordpress.org/trunk@45649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
94a6e06ab9
commit
8df86efc2b
@ -49,7 +49,7 @@ $die .= '</ul>';
|
||||
|
||||
$die .= '<p>' . sprintf(
|
||||
/* translators: 1: NPM URL, 2: Handbook URL */
|
||||
__( 'This requires <a href="%1$s">NPM</a>. <a href="%2$s">Read more about setting up your local development environment</a>.' ),
|
||||
__( 'This requires <a href="%1$s">NPM</a>. <a href="%2$s">Learn more about setting up your local development environment</a>.' ),
|
||||
'https://www.npmjs.com/get-npm',
|
||||
__( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' )
|
||||
) . '</p>';
|
||||
|
@ -946,7 +946,7 @@ class WP_Site_Health {
|
||||
'<p><a href="%s" target="_blank" rel="noopener noreferrer">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
|
||||
/* translators: Localized version of WordPress requirements if one exists. */
|
||||
esc_url( __( 'https://wordpress.org/about/requirements/' ) ),
|
||||
__( 'Read more about what WordPress requires to run.' ),
|
||||
__( 'Learn more about what WordPress requires to run.' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
),
|
||||
@ -1217,7 +1217,7 @@ class WP_Site_Health {
|
||||
'<p><a href="%s" target="_blank" rel="noopener noreferrer">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
|
||||
/* translators: Documentation explaining debugging in WordPress. */
|
||||
esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ),
|
||||
__( 'Read about debugging in WordPress.' ),
|
||||
__( 'Learn more about debugging in WordPress.' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
),
|
||||
@ -1286,7 +1286,7 @@ class WP_Site_Health {
|
||||
'<p><a href="%s" target="_blank" rel="noopener noreferrer">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
|
||||
/* translators: Documentation explaining HTTPS and why it should be used. */
|
||||
esc_url( __( 'https://wordpress.org/support/article/why-should-i-use-https/' ) ),
|
||||
__( 'Read more about why you should use HTTPS' ),
|
||||
__( 'Learn more about why you should use HTTPS' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user