mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@28927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -180,7 +180,7 @@ class WP_Customize_Section {
|
||||
<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>
|
||||
<li><p class="description customize-section-description"><?php echo $this->description; ?></p></li>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
foreach ( $this->controls as $control )
|
||||
|
||||
Reference in New Issue
Block a user