Issues (631)

sidebar.php (2 issues)

Labels
Severity
1
<?php
2
/**
3
 * The Sidebar containing the main widget areas
4
 *
5
 * @package WordPress
6
 * @subpackage Strip
7
 */
8
9
if ( ! is_active_sidebar( 'sidebar' ) ) {
0 ignored issues
show
The function is_active_sidebar was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

9
if ( ! /** @scrutinizer ignore-call */ is_active_sidebar( 'sidebar' ) ) {
Loading history...
10
	return;
11
}
12
?>
13
14
<div id="secondary" class="widget-area" role="complementary">
15
16
	<div class="widget-wrap">
17
18
		<div class="main-sidebar">
19
20
	<?php dynamic_sidebar( 'sidebar' ); ?>
0 ignored issues
show
The function dynamic_sidebar was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

20
	<?php /** @scrutinizer ignore-call */ dynamic_sidebar( 'sidebar' ); ?>
Loading history...
21
22
		</div>
23
	</div><!-- .widget-wrap -->
24
</div><!-- #secondary -->
25