Make WordPress Core


Ignore:
Timestamp:
08/25/2012 05:32:06 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/sidebar-home.php

    r21618 r21620  
    2424        <?php if ( is_active_sidebar( 2 ) ) : ?>
    2525        <div class="first home-widgets">
    26                 <?php dynamic_sidebar( 'sidebar-2' ); ?>
     26                <?php dynamic_sidebar( 2 ); ?>
    2727        </div><!-- .first -->
    2828        <?php endif; ?>
    … …  
    3030        <?php if ( is_active_sidebar( 3 ) ) : ?>
    3131        <div class="second home-widgets">
    32                 <?php dynamic_sidebar( 'sidebar-3' ); ?>
     32                <?php dynamic_sidebar( 3 ); ?>
    3333        </div><!-- .second -->
    3434        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.