WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (4 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-item-control.php

    r41162 r42343  
    6868                </span>
    6969                <span class="item-controls">
    70                     <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text"><?php
     70                    <button type="button" class="button-link item-edit" aria-expanded="false"><span class="screen-reader-text">
     71                    <?php
    7172                        /* translators: 1: Title of a menu item, 2: Type of a menu item */
    7273                        printf( __( 'Edit menu item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
    73                     ?></span><span class="toggle-indicator" aria-hidden="true"></span></button>
    74                     <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text"><?php
     74                    ?>
     75                    </span><span class="toggle-indicator" aria-hidden="true"></span></button>
     76                    <button type="button" class="button-link item-delete submitdelete deletion"><span class="screen-reader-text">
     77                    <?php
    7578                        /* translators: 1: Title of a menu item, 2: Type of a menu item */
    7679                        printf( __( 'Remove Menu Item: %1$s (%2$s)' ), '{{ data.title || wp.customize.Menus.data.l10n.untitled }}', '{{ data.item_type_label }}' );
    77                     ?></span></button>
     80                    ?>
     81                    </span></button>
    7882                </span>
    7983            </div>
Note: See TracChangeset for help on using the changeset viewer.