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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2012-03-15 05:32:40 +00:00
parent 6bda61536e
commit 1ee1b90e05
2 changed files with 1 additions and 6 deletions

View File

@ -65,12 +65,8 @@ class WP_Customize_Section {
return;
?>
<li id="customize-section-<?php echo esc_attr( $this->id ); ?>" class="control-section customize-section">
<h3 class="customize-section-title"><?php echo esc_html( $this->title ); ?></h3>
<h3 class="customize-section-title" title="<?php echo esc_attr( $this->description ); ?>"><?php echo esc_html( $this->title ); ?></h3>
<ul class="customize-section-content">
<?php if ( $this->description ) : ?>
<li><p class="howto"><?php echo $this->description; ?></p></li>
<?php endif; ?>
<?php foreach ( $this->settings as $setting ) : ?>
<li id="customize-control-<?php echo esc_attr( $setting->id ); ?>" class="customize-control customize-control-<?php echo esc_attr( $setting->control ); ?>">
<?php $setting->_render(); ?>

View File

@ -609,7 +609,6 @@ final class WP_Customize {
$this->add_section( 'strings', array(
'title' => __( 'Site Title & Tagline' ),
'description' => __( 'Customize some strings.' ),
) );
$this->add_setting( 'blogname', array(