Make WordPress Core


Ignore:
Timestamp:
06/30/2014 03:54:04 PM (11 years ago)
Author:
helen
Message:

Support descriptions for individual customizer controls.

  • Control title (label) markup will also only be output if specified.
  • Control section descriptions are no longer italicized for visual hierarchy / differentiation.

props celloexpressions. fixes #27981.

File:
1 edited

Legend:

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

    r28861 r28927  
    181181            <ul class="accordion-section-content">
    182182                <?php if ( ! empty( $this->description ) ) : ?>
    183                 <li><p class="description"><?php echo $this->description; ?></p></li>
     183                <li><p class="description customize-section-description"><?php echo $this->description; ?></p></li>
    184184                <?php endif; ?>
    185185                <?php
Note: See TracChangeset for help on using the changeset viewer.