- Timestamp:
- 10/03/2017 03:43:22 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-themes-section.php
r41648 r41709 101 101 <# if ( 'wporg' === data.action ) { #> 102 102 <div class="search-form"> 103 <label class="screen-reader-text" for="wp-filter-search-input"><?php _e( 'Search themes…' ); ?></label>104 <input placeholder="<?php _e( 'Search themes…' ); ?>" type="search" aria-describedby="live-search-desc" id="wp-filter-search-input" class="wp-filter-search">105 <span id=" live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span>103 <label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text"><?php _e( 'Search themes…' ); ?></label> 104 <input type="search" id="wp-filter-search-input-{{ data.id }}" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search"> 105 <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> 106 106 </div> 107 107 <button type="button" class="button feature-filter-toggle"> … … 130 130 </div> 131 131 <# } else { #> 132 <p class="themes-filter-container"> 133 <label for="themes-filter"> 134 <span class="screen-reader-text"><?php _e( 'Search themes…' ); ?></span> 135 <input type="search" id="themes-filter" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="live-search-desc" class="wp-filter-search wp-filter-search-themes" /> 136 <span id="live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> 137 </label> 138 </p> 132 <div class="themes-filter-container"> 133 <label for="{{ data.id }}-themes-filter" class="screen-reader-text"><?php _e( 'Search themes…' ); ?></label> 134 <input type="search" id="{{ data.id }}-themes-filter" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" /> 135 <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> 136 </div> 139 137 <# } #> 140 138 <div class="filter-themes-count">
Note: See TracChangeset
for help on using the changeset viewer.