Make WordPress Core


Ignore:
Timestamp:
01/12/2019 06:40:16 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Upgrade WPCS to 1.2.1.

This upgrade fixes quite a few false positives, as well as auto-fixing some indenting issues.

Fixes #45956.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r44151 r44574  
    823823            </span><!-- /add-new-menu-action -->
    824824        </form>
    825     <?php
     825            <?php
    826826        endif;
    827827
    828828        $metabox_holder_disabled_class = '';
    829 if ( isset( $_GET['menu'] ) && '0' == $_GET['menu'] ) {
    830     $metabox_holder_disabled_class = ' metabox-holder-disabled';
    831 }
    832 ?>
     829        if ( isset( $_GET['menu'] ) && '0' == $_GET['menu'] ) {
     830            $metabox_holder_disabled_class = ' metabox-holder-disabled';
     831        }
     832        ?>
    833833    </div><!-- /manage-menus -->
    834834    <div id="nav-menus-frame" class="wp-clearfix">
     
    915915
    916916                                $no_menus_style = '';
    917 if ( $one_theme_location_no_menus ) {
    918     $no_menus_style = 'style="display: none;"';
    919 }
    920 ?>
     917                            if ( $one_theme_location_no_menus ) {
     918                                $no_menus_style = 'style="display: none;"';
     919                            }
     920                            ?>
    921921                            <div class="menu-settings" <?php echo $no_menus_style; ?>>
    922922                                <h3><?php _e( 'Menu Settings' ); ?></h3>
Note: See TracChangeset for help on using the changeset viewer.