From 482a549085de90fceb1c46f31006b835dde446e8 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Wed, 27 Jan 2021 21:02:12 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@50032 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 2 +- src/wp-admin/includes/file.php | 2 -- src/wp-admin/plugin-editor.php | 4 +-- src/wp-admin/theme-editor.php | 4 +-- ...p-customize-nav-menu-locations-control.php | 28 +++++++++---------- src/wp-signup.php | 4 +-- 6 files changed, 20 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 879dba0577..552f47ee56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index acce21a15f..9928582c7a 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -2246,12 +2246,10 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index a5be77d035..f333b34882 100644 --- a/src/wp-admin/plugin-editor.php +++ b/src/wp-admin/plugin-editor.php @@ -288,7 +288,7 @@ $content = esc_textarea( $content );

-

+

-

+

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

-

+

-

+

diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php b/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php index 93db8ac013..92125618ea 100644 --- a/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php +++ b/src/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/src/wp-signup.php b/src/wp-signup.php index 8ac5004e0e..8e73e6aedd 100644 --- a/src/wp-signup.php +++ b/src/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 . '' ); }