WordPress.org

Make WordPress Core

Ticket #24392: 24392.patch

File 24392.patch, 878 bytes (added by obenland, 5 years ago)
  • wp-includes/class-wp-customize-section.php

     
    8080        protected function render() {
    8181                ?>
    8282                <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>
    8484                        <ul class="accordion-section-content">
     85                                <li><p class="description"><?php echo esc_html( $this->description ); ?></p></li>
    8586                                <?php
    8687                                foreach ( $this->controls as $control )
    8788                                        $control->maybe_render();