- Timestamp:
- 10/02/2017 05:33:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-date-time-control.php
r41670 r41672 113 113 <# var idPrefix = _.uniqueId( 'el' ) + '-'; #> 114 114 115 <span class="customize-control-title"> 116 {{ data.label }} 117 </span> 115 <# if ( data.label ) { #> 116 <span class="customize-control-title"> 117 {{ data.label }} 118 </span> 119 <# } #> 118 120 <div class="customize-control-notifications-container"></div> 119 <span class="description customize-control-description">{{ data.description }}</span> 120 <div class="date-time-fields"> 121 <# if ( data.description ) { #> 122 <span class="description customize-control-description">{{ data.description }}</span> 123 <# } #> 124 <div class="date-time-fields {{ data.includeTime ? 'includes-time' : '' }}"> 121 125 <fieldset class="day-row"> 122 <legend class="title-day "><?php esc_html_e( 'Date' ); ?></legend>126 <legend class="title-day {{ ! data.includeTime ? 'screen-reader-text' : '' }}"><?php esc_html_e( 'Date' ); ?></legend> 123 127 <div class="day-fields clear"> 124 128 <label for="{{ idPrefix }}date-time-month" class="screen-reader-text"><?php esc_html_e( 'Month' ); ?></label>
Note: See TracChangeset
for help on using the changeset viewer.