Make WordPress Core

Changeset 50032


Ignore:
Timestamp:
01/27/2021 09:02:12 PM (6 years ago)
Author:
joedolson
Message:

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

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r50017 r50032  
    60206020                "browserify-aes": {
    60216021                        "version": "1.2.0",
    6022                         "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
     6022                        "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
    60236023                        "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
    60246024                        "dev": true,
  • trunk/src/wp-admin/includes/file.php

    r49942 r50032  
    22472247                <span class="field-title"><?php echo $label_pass; ?></span>
    22482248                <input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> />
    2249                 <em>
    22502249                <?php
    22512250                if ( ! defined( 'FTP_PASS' ) ) {
    22522251                        _e( 'This password will not be stored on the server.' );}
    22532252                ?>
    2254 </em>
    22552253        </label>
    22562254</div>
  • trunk/src/wp-admin/plugin-editor.php

    r49958 r50032  
    289289                </p>
    290290        <?php else : ?>
    291                 <p><em>
     291                <p>
    292292                        <?php
    293293                        printf(
    … …  
    297297                        );
    298298                        ?>
    299                 </em></p>
     299                </p>
    300300        <?php endif; ?>
    301301
  • trunk/src/wp-admin/theme-editor.php

    r49958 r50032  
    316316                                </p>
    317317                        <?php else : ?>
    318                                 <p><em>
     318                                <p>
    319319                                        <?php
    320320                                        printf(
    … …  
    324324                                        );
    325325                                        ?>
    326                                 </em></p>
     326                                </p>
    327327                        <?php endif; ?>
    328328                </div>
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php

    r46586 r50032  
    4747                                                <p>
    4848                                                        <?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?>
    49                                                         <em class="new-menu-locations-widget-note">
    50                                                                 <?php
    51                                                                 printf(
    52                                                                         /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
    53                                                                         _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ),
    54                                                                         __( 'https://wordpress.org/support/article/wordpress-widgets/' ),
    55                                                                         ' class="external-link" target="_blank"',
    56                                                                         sprintf(
    57                                                                                 '<span class="screen-reader-text"> %s</span>',
    58                                                                                 /* translators: Accessibility text. */
    59                                                                                 __( '(opens in a new tab)' )
    60                                                                         )
    61                                                                 );
    62                                                                 ?>
    63                                                         </em>
     49                                                        <?php
     50                                                        printf(
     51                                                                /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
     52                                                                _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ),
     53                                                                __( 'https://wordpress.org/support/article/wordpress-widgets/' ),
     54                                                                ' class="external-link" target="_blank"',
     55                                                                sprintf(
     56                                                                        '<span class="screen-reader-text"> %s</span>',
     57                                                                        /* translators: Accessibility text. */
     58                                                                        __( '(opens in a new tab)' )
     59                                                                )
     60                                                        );
     61                                                        ?>
    6462                                                </p>
    6563                                        <# } else { #>
  • trunk/src/wp-signup.php

    r49992 r50032  
    985985                                        printf(
    986986                                                /* translators: %s: Site address. */
    987                                                 '<p><em>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</em></p>',
     987                                                '<p>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</p>',
    988988                                                '<strong>' . $newblog . '</strong>'
    989989                                        );
    … …  
    991991                                        printf(
    992992                                                /* translators: %s: Site address. */
    993                                                 '<p><em>' . __( 'The site you were looking for, %s, does not exist.' ) . '</em></p>',
     993                                                '<p>' . __( 'The site you were looking for, %s, does not exist.' ) . '</p>',
    994994                                                '<strong>' . $newblog . '</strong>'
    995995                                        );
Note: See TracChangeset for help on using the changeset viewer.