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