WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (3 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/twentyseventeen/template-parts/navigation/navigation-top.php

    r40472 r42343  
    1919    </button>
    2020
    21     <?php wp_nav_menu( array(
    22         'theme_location' => 'top',
    23         'menu_id'        => 'top-menu',
    24     ) ); ?>
     21    <?php
     22    wp_nav_menu(
     23        array(
     24            'theme_location' => 'top',
     25            'menu_id'        => 'top-menu',
     26        )
     27    );
     28    ?>
    2529
    2630    <?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && has_custom_header() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.