Wordpress 3.7
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-section.php
index 63051be61969b492ba71385b5d1217847afa1c5f..ab24dab5f3e44aed2125ddc54eec2b4dbe1aa86b 100644 (file)
@@ -80,8 +80,11 @@ class WP_Customize_Section {
        protected function render() {
                ?>
                <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="control-section accordion-section">
-                       <h3 class="accordion-section-title" tabindex="0" title="<?php echo esc_attr( $this->description ); ?>"><?php echo esc_html( $this->title ); ?></h3>
+                       <h3 class="accordion-section-title" tabindex="0"><?php echo esc_html( $this->title ); ?></h3>
                        <ul class="accordion-section-content">
+                               <?php if ( ! empty( $this->description ) ) : ?>
+                               <li><p class="description"><?php echo $this->description; ?></p></li>
+                               <?php endif; ?>
                                <?php
                                foreach ( $this->controls as $control )
                                        $control->maybe_render();