Customizer: Fix ID attribute for a panel.
props celloexpressions. fixes #29174. Built from https://develop.svn.wordpress.org/trunk@29482 git-svn-id: http://core.svn.wordpress.org/trunk@29260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ca03604712
commit
d062663180
|
@ -243,7 +243,7 @@ class WP_Customize_Panel extends WP_Customize_Section {
|
||||||
*/
|
*/
|
||||||
protected function render() {
|
protected function render() {
|
||||||
?>
|
?>
|
||||||
<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="control-section control-panel accordion-section">
|
<li id="accordion-panel-<?php echo esc_attr( $this->id ); ?>" class="control-section control-panel accordion-section">
|
||||||
<h3 class="accordion-section-title" tabindex="0">
|
<h3 class="accordion-section-title" tabindex="0">
|
||||||
<?php echo esc_html( $this->title ); ?>
|
<?php echo esc_html( $this->title ); ?>
|
||||||
<span class="screen-reader-text"><?php _e( 'Press return or enter to open panel' ); ?></span>
|
<span class="screen-reader-text"><?php _e( 'Press return or enter to open panel' ); ?></span>
|
||||||
|
|
Loading…
Reference in New Issue