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/twentythirteen/header.php

    r31785 r42343  
    4343                    <button class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></button>
    4444                    <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
    45                     <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu' ) ); ?>
     45                    <?php
     46                    wp_nav_menu(
     47                        array(
     48                            'theme_location' => 'primary',
     49                            'menu_class'     => 'nav-menu',
     50                            'menu_id'        => 'primary-menu',
     51                        )
     52                    );
     53?>
    4654                    <?php get_search_form(); ?>
    4755                </nav><!-- #site-navigation -->
Note: See TracChangeset for help on using the changeset viewer.