Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 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-content/themes/twentytwelve/header.php

    r31262 r42343  
    4343            <button class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></button>
    4444            <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    45             <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
     45            <?php
     46            wp_nav_menu(
     47                array(
     48                    'theme_location' => 'primary',
     49                    'menu_class'     => 'nav-menu',
     50                )
     51            );
     52?>
    4653        </nav><!-- #site-navigation -->
    4754
Note: See TracChangeset for help on using the changeset viewer.