Administration: Remove italic text to improve readability.

Italicized text can be difficult to read for some people with dyslexia or related forms of reading disorders. This removes italics on a number of larger blocks onpm run grunt rpf text in the admin. This has been a task 5.3; this commit closes the task. Further instances of italicized text should be addressed individually.

Props afercia, xkon, audrasjb
Fixes #47327

git-svn-id: https://develop.svn.wordpress.org/trunk@50032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe Dolson
2021-01-27 21:02:12 +00:00
parent e1c98a744b
commit 482a549085
6 changed files with 20 additions and 24 deletions

2
package-lock.json generated
View File

@@ -6019,7 +6019,7 @@
},
"browserify-aes": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
"resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
"dev": true,
"requires": {

View File

@@ -2246,12 +2246,10 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
<label for="password">
<span class="field-title"><?php echo $label_pass; ?></span>
<input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> />
<em>
<?php
if ( ! defined( 'FTP_PASS' ) ) {
_e( 'This password will not be stored on the server.' );}
?>
</em>
</label>
</div>
<fieldset>

View File

@@ -288,7 +288,7 @@ $content = esc_textarea( $content );
<span class="spinner"></span>
</p>
<?php else : ?>
<p><em>
<p>
<?php
printf(
/* translators: %s: Documentation URL. */
@@ -296,7 +296,7 @@ $content = esc_textarea( $content );
__( 'https://wordpress.org/support/article/changing-file-permissions/' )
);
?>
</em></p>
</p>
<?php endif; ?>
<?php wp_print_file_editor_templates(); ?>

View File

@@ -315,7 +315,7 @@ else :
<span class="spinner"></span>
</p>
<?php else : ?>
<p><em>
<p>
<?php
printf(
/* translators: %s: Documentation URL. */
@@ -323,7 +323,7 @@ else :
__( 'https://wordpress.org/support/article/changing-file-permissions/' )
);
?>
</em></p>
</p>
<?php endif; ?>
</div>

View File

@@ -46,21 +46,19 @@ class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control {
<# if ( data.isCreating ) { #>
<p>
<?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?>
<em class="new-menu-locations-widget-note">
<?php
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/' ),
' class="external-link" target="_blank"',
sprintf(
'<span class="screen-reader-text"> %s</span>',
/* translators: Accessibility text. */
__( '(opens in a new tab)' )
)
);
?>
</em>
<?php
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/' ),
' class="external-link" target="_blank"',
sprintf(
'<span class="screen-reader-text"> %s</span>',
/* translators: Accessibility text. */
__( '(opens in a new tab)' )
)
);
?>
</p>
<# } else { #>
<p><?php echo _x( 'Here&#8217;s where this menu appears. If you&#8217;d like to change that, pick another location.', 'menu locations' ); ?></p>

View File

@@ -984,13 +984,13 @@ if ( 'none' === $active_signup ) {
if ( 'blog' === $active_signup || 'all' === $active_signup ) {
printf(
/* translators: %s: Site address. */
'<p><em>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</em></p>',
'<p>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</p>',
'<strong>' . $newblog . '</strong>'
);
} else {
printf(
/* translators: %s: Site address. */
'<p><em>' . __( 'The site you were looking for, %s, does not exist.' ) . '</em></p>',
'<p>' . __( 'The site you were looking for, %s, does not exist.' ) . '</p>',
'<strong>' . $newblog . '</strong>'
);
}