Ticket #24392: 24392.diff
File 24392.diff, 942 bytes (added by , 11 years ago) |
---|
-
wp-includes/class-wp-customize-section.php
80 80 protected function render() { 81 81 ?> 82 82 <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="control-section accordion-section"> 83 <h3 class="accordion-section-title" tabindex="0" title="<?php echo esc_attr( $this->description ); ?>"><?php echo esc_html( $this->title ); ?></h3>83 <h3 class="accordion-section-title" tabindex="0"><?php echo esc_html( $this->title ); ?></h3> 84 84 <ul class="accordion-section-content"> 85 <?php if ( ! empty( $this->description ) ) : ?> 86 <li><p class="description"><?php echo $this->description; ?></p></li> 85 87 <?php 88 endif; 89 86 90 foreach ( $this->controls as $control ) 87 91 $control->maybe_render(); 88 92 ?>