Make WordPress Core


Ignore:
Timestamp:
07/15/2015 07:58:42 PM (10 years ago)
Author:
westonruter
Message:

Customizer: Hide the transport list when it's empty, especially for screen readers.

Also prevent invalid markup for .customize-section-description.

Props valendesigns.
Fixes #32843.

File:
1 edited

Legend:

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

    r33220 r33282  
    364364                    </div>
    365365                    <# if ( data.description ) { #>
    366                         <p class="description customize-section-description">{{{ data.description }}}</p>
     366                        <div class="description customize-section-description">
     367                            {{{ data.description }}}
     368                        </div>
    367369                    <# } #>
    368370                </li>
Note: See TracChangeset for help on using the changeset viewer.