From ee751b977954303b16af0a7037c6ef88d3b19cb9 Mon Sep 17 00:00:00 2001 From: joedolson Date: Wed, 27 Jan 2021 21:03:57 +0000 Subject: [PATCH] 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 --- wp-admin/includes/file.php | 2 -- wp-admin/plugin-editor.php | 4 +-- wp-admin/theme-editor.php | 4 +-- ...p-customize-nav-menu-locations-control.php | 28 +++++++++---------- wp-includes/version.php | 2 +- wp-signup.php | 4 +-- 6 files changed, 20 insertions(+), 24 deletions(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index acce21a15f..9928582c7a 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -2246,12 +2246,10 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index a5be77d035..f333b34882 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -288,7 +288,7 @@ $content = esc_textarea( $content );

-

+

-

+

diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index c162ce4c14..18357c046a 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -315,7 +315,7 @@ else :

-

+

-

+

diff --git a/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php b/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php index 93db8ac013..92125618ea 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php @@ -46,21 +46,19 @@ class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control { <# if ( data.isCreating ) { #>

- - widget%3$s, skip this step.)', 'menu locations' ), - __( 'https://wordpress.org/support/article/wordpress-widgets/' ), - ' class="external-link" target="_blank"', - sprintf( - ' %s', - /* translators: Accessibility text. */ - __( '(opens in a new tab)' ) - ) - ); - ?> - + widget%3$s, skip this step.)', 'menu locations' ), + __( 'https://wordpress.org/support/article/wordpress-widgets/' ), + ' class="external-link" target="_blank"', + sprintf( + ' %s', + /* translators: Accessibility text. */ + __( '(opens in a new tab)' ) + ) + ); + ?>

<# } else { #>

diff --git a/wp-includes/version.php b/wp-includes/version.php index 88c23aa67a..c3b4da0f53 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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. diff --git a/wp-signup.php b/wp-signup.php index 8ac5004e0e..8e73e6aedd 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -984,13 +984,13 @@ if ( 'none' === $active_signup ) { if ( 'blog' === $active_signup || 'all' === $active_signup ) { printf( /* translators: %s: Site address. */ - '

' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '

', + '

' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '

', '' . $newblog . '' ); } else { printf( /* translators: %s: Site address. */ - '

' . __( 'The site you were looking for, %s, does not exist.' ) . '

', + '

' . __( 'The site you were looking for, %s, does not exist.' ) . '

', '' . $newblog . '' ); }