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/twentyten/sidebar.php

    r25746 r42343  
    1919     * some default sidebar stuff just in case.
    2020     */
    21     if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
     21if ( ! dynamic_sidebar( 'primary-widget-area' ) ) :
     22    ?>
    2223
    2324            <li id="search" class="widget-container widget_search">
     
    4748<?php
    4849    // A second sidebar for widgets, just because.
    49     if ( is_active_sidebar( 'secondary-widget-area' ) ) : ?>
     50if ( is_active_sidebar( 'secondary-widget-area' ) ) :
     51    ?>
    5052
    5153        <div id="secondary" class="widget-area" role="complementary">
Note: See TracChangeset for help on using the changeset viewer.