Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (9 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php

    r41832 r42343  
    5252                                                                        __( 'https://codex.wordpress.org/WordPress_Widgets' ),
    5353                                                                        ' class="external-link" target="_blank"',
    54                                                                         sprintf( '<span class="screen-reader-text"> %s</span>',
     54                                                                        sprintf(
     55                                                                                '<span class="screen-reader-text"> %s</span>',
    5556                                                                                /* translators: accessibility text */
    5657                                                                                __( '(opens in a new window)' )
    … …  
    7576                                                                        <?php
    7677                                                                        /* translators: %s: menu name */
    77                                                                         printf( _x( '(Current: %s)', 'menu location' ),
     78                                                                        printf(
     79                                                                                _x( '(Current: %s)', 'menu location' ),
    7880                                                                                '<span class="current-menu-location-name-' . esc_attr( $location ) . '"></span>'
    7981                                                                        );
Note: See TracChangeset for help on using the changeset viewer.