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/twentyseventeen/template-parts/footer/footer-widgets.php

    r42228 r42343  
    1818    <aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
    1919        <?php
    20         if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
     20        if ( is_active_sidebar( 'sidebar-2' ) ) {
     21        ?>
    2122            <div class="widget-column footer-widget-1">
    2223                <?php dynamic_sidebar( 'sidebar-2' ); ?>
    2324            </div>
    24         <?php }
    25         if ( is_active_sidebar( 'sidebar-3' ) ) { ?>
     25        <?php
     26        }
     27        if ( is_active_sidebar( 'sidebar-3' ) ) {
     28        ?>
    2629            <div class="widget-column footer-widget-2">
    2730                <?php dynamic_sidebar( 'sidebar-3' ); ?>
Note: See TracChangeset for help on using the changeset viewer.