WordPress.org

Make WordPress Core

Changeset 20182


Ignore:
Timestamp:
03/15/12 05:32:40 (2 years ago)
Author:
koopersmith
Message:

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

Location:
trunk/wp-includes
Files:
2 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 ); ?>"> 
  • trunk/wp-includes/class-wp-customize.php

    r20181 r20182  
    610610        $this->add_section( 'strings', array( 
    611611            'title'          => __( 'Site Title & Tagline' ), 
    612             'description'    => __( 'Customize some strings.' ), 
    613612        ) ); 
    614613 
Note: See TracChangeset for help on using the changeset viewer.