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