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
Built from https://develop.svn.wordpress.org/trunk@50032


git-svn-id: http://core.svn.wordpress.org/trunk@49733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2021-01-27 21:03:57 +00:00
parent ee710f2c16
commit ee751b9779
6 changed files with 20 additions and 24 deletions

View File

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

View File

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

View File

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

View File

@ -46,21 +46,19 @@ class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control {
<# if ( data.isCreating ) { #> <# if ( data.isCreating ) { #>
<p> <p>
<?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?> <?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?>
<em class="new-menu-locations-widget-note"> <?php
<?php printf(
printf( /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
/* 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' ),
_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/support/article/wordpress-widgets/' ), ' class="external-link" target="_blank"',
' class="external-link" target="_blank"', sprintf(
sprintf( '<span class="screen-reader-text"> %s</span>',
'<span class="screen-reader-text"> %s</span>', /* translators: Accessibility text. */
/* translators: Accessibility text. */ __( '(opens in a new tab)' )
__( '(opens in a new tab)' ) )
) );
); ?>
?>
</em>
</p> </p>
<# } else { #> <# } 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> <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

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.7-alpha-50030'; $wp_version = '5.7-alpha-50032';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -984,13 +984,13 @@ if ( 'none' === $active_signup ) {
if ( 'blog' === $active_signup || 'all' === $active_signup ) { if ( 'blog' === $active_signup || 'all' === $active_signup ) {
printf( printf(
/* translators: %s: Site address. */ /* 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>' '<strong>' . $newblog . '</strong>'
); );
} else { } else {
printf( printf(
/* translators: %s: Site address. */ /* 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>' '<strong>' . $newblog . '</strong>'
); );
} }