its okay WPCS, really...
This commit is contained in:
parent
1fe4be6667
commit
a9aecfb68f
|
@ -45,8 +45,7 @@ if ( $is_woocommerce ) {
|
|||
} else {
|
||||
$html .= 'col-md-12 content-area" id="primary">';
|
||||
}
|
||||
_e( // WPCS: XSS OK.
|
||||
$html );
|
||||
echo $html; // WPCS: XSS OK.
|
||||
} elseif ( is_active_sidebar( 'right-sidebar' ) && is_active_sidebar( 'left-sidebar' ) ) {
|
||||
$html = '<div class="';
|
||||
if ( 'both' === $sidebar_pos ) {
|
||||
|
@ -54,8 +53,7 @@ if ( $is_woocommerce ) {
|
|||
} else {
|
||||
$html .= 'col-md-12 content-area" id="primary">';
|
||||
}
|
||||
_e( // WPCS: XSS OK.
|
||||
$html );
|
||||
echo $html; // WPCS: XSS OK.
|
||||
} else {
|
||||
echo '<div class="col-md-12 content-area" id="primary">';
|
||||
}
|
||||
|
|
Reference in New Issue