mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
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:
parent
6cb23aebab
commit
ee72413797
@ -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">
|
||||||
<div class="sidebar-name-arrow"><br /></div>
|
<div class="sidebar-name-arrow"><br /></div>
|
||||||
<h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
|
<h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
|
||||||
@ -387,7 +387,7 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
|
|||||||
if ( $i )
|
if ( $i )
|
||||||
$wrap_class .= ' closed'; ?>
|
$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">
|
||||||
<div class="sidebar-name-arrow"><br /></div>
|
<div class="sidebar-name-arrow"><br /></div>
|
||||||
<h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
|
<h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user