forked from mirror/_s
_s: Use braces in all conditionals.
Formatting updates for file comment, conditional braces, and indentation.
This commit is contained in:
parent
fc95a34dec
commit
5106a9e3e4
|
@ -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 -->
|
||||||
|
|
Reference in New Issue