Don't use esc_attr_e() function for a non-translatable context. props zeo. fixes #19479.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-12-08 17:56:03 +00:00
parent 6cb23aebab
commit ee72413797
1 changed files with 2 additions and 2 deletions

View File

@ -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'] ); ?>