- Timestamp:
- 02/07/2023 05:08:26 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-themes-section.php
r49539 r55276 125 125 <# if ( 'wporg' === data.action ) { #> 126 126 <div class="search-form"> 127 <label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text"><?php _e( 'Search themes…' ); ?></label> 127 <label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text"> 128 <?php 129 /* translators: Hidden accessibility text. */ 130 _e( 'Search themes…' ); 131 ?> 132 </label> 128 133 <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"> 129 134 <div class="search-icon" aria-hidden="true"></div> 130 <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> 135 <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"> 136 <?php 137 /* translators: Hidden accessibility text. */ 138 _e( 'The search results will be updated as you type.' ); 139 ?> 140 </span> 131 141 </div> 132 142 <button type="button" class="button feature-filter-toggle"> 133 143 <span class="filter-count-0"><?php _e( 'Filter themes' ); ?></span><span class="filter-count-filters"> 134 <?php135 /* translators: %s: Number of filters selected. */136 printf( __( 'Filter themes (%s)' ), '<span class="theme-filter-count">0</span>' );137 ?>144 <?php 145 /* translators: %s: Number of filters selected. */ 146 printf( __( 'Filter themes (%s)' ), '<span class="theme-filter-count">0</span>' ); 147 ?> 138 148 </span> 139 149 </button> 140 150 <# } else { #> 141 151 <div class="themes-filter-container"> 142 <label for="{{ data.id }}-themes-filter" class="screen-reader-text"><?php _e( 'Search themes…' ); ?></label> 152 <label for="{{ data.id }}-themes-filter" class="screen-reader-text"> 153 <?php 154 /* translators: Hidden accessibility text. */ 155 _e( 'Search themes…' ); 156 ?> 157 </label> 143 158 <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" /> 144 159 <div class="search-icon" aria-hidden="true"></div> 145 <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"><?php _e( 'The search results will be updated as you type.' ); ?></span> 160 <span id="{{ data.id }}-live-search-desc" class="screen-reader-text"> 161 <?php 162 /* translators: Hidden accessibility text. */ 163 _e( 'The search results will be updated as you type.' ); 164 ?> 165 </span> 146 166 </div> 147 167 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.