WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/15/2012 05:32:40 AM (8 years ago)
Author:
koopersmith
Message:

Theme Customizer: Move section descriptions to the title attribute of the section name. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-customize-section.php

    r20181 r20182  
    6666        ?>
    6767        <li id="customize-section-<?php echo esc_attr( $this->id ); ?>" class="control-section customize-section">
    68             <h3 class="customize-section-title"><?php echo esc_html( $this->title ); ?></h3>
     68            <h3 class="customize-section-title" title="<?php echo esc_attr( $this->description ); ?>"><?php echo esc_html( $this->title ); ?></h3>
    6969            <ul class="customize-section-content">
    70                 <?php if ( $this->description ) : ?>
    71                     <li><p class="howto"><?php echo $this->description; ?></p></li>
    72                 <?php endif; ?>
    73 
    7470                <?php foreach ( $this->settings as $setting ) : ?>
    7571                <li id="customize-control-<?php echo esc_attr( $setting->id ); ?>" class="customize-control customize-control-<?php echo esc_attr( $setting->control ); ?>">
Note: See TracChangeset for help on using the changeset viewer.