_s: Use braces in all conditionals.

Formatting updates for file comment, conditional braces, and indentation.
This commit is contained in:
Konstantin Obenland 2014-06-26 13:45:05 -07:00
parent fc95a34dec
commit 5106a9e3e4
1 changed files with 7 additions and 5 deletions

View File

@ -1,13 +1,15 @@
<?php <?php
/** /**
* The sidebar containing the main widget areas. * The sidebar containing the main widget area.
* *
* @package _s * @package _s
*/ */
if ( ! is_active_sidebar( 'sidebar-1' ) ) if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return; return;
}
?> ?>
<div id="secondary" class="widget-area" role="complementary"> <div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?> <?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary --> </div><!-- #secondary -->