Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (8 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/twentyten/sidebar-footer.php

    r25746 r42343  
    1616     * If none of the sidebars have widgets, then let's bail early.
    1717     */
    18     if (   ! is_active_sidebar( 'first-footer-widget-area' )
     18if ( ! is_active_sidebar( 'first-footer-widget-area' )
    1919        && ! is_active_sidebar( 'second-footer-widget-area' )
    20         && ! is_active_sidebar( 'third-footer-widget-area'  )
     20        && ! is_active_sidebar( 'third-footer-widget-area' )
    2121        && ! is_active_sidebar( 'fourth-footer-widget-area' )
    22     )
    23         return;
     22    ) {
     23    return;
     24}
    2425    // If we get this far, we have widgets. Let do this.
    2526?>
Note: See TracChangeset for help on using the changeset viewer.