Don't use esc_attr_e() function for a non-translatable context. props zeo. fixes #19479.
git-svn-id: https://develop.svn.wordpress.org/trunk@19572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1b904bdd8d
commit
6b3d8e9fc8
@ -352,7 +352,7 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
|
||||
|
||||
?>
|
||||
|
||||
<div class="<?php esc_attr_e( $wrap_class ); ?>">
|
||||
<div class="<?php echo esc_attr( $wrap_class ); ?>">
|
||||
<div class="sidebar-name">
|
||||
<div class="sidebar-name-arrow"><br /></div>
|
||||
<h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
|
||||
@ -387,7 +387,7 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
|
||||
if ( $i )
|
||||
$wrap_class .= ' closed'; ?>
|
||||
|
||||
<div class="<?php esc_attr_e( $wrap_class ); ?>">
|
||||
<div class="<?php echo esc_attr( $wrap_class ); ?>">
|
||||
<div class="sidebar-name">
|
||||
<div class="sidebar-name-arrow"><br /></div>
|
||||
<h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user