Changeset 38640 for trunk/src/wp-admin/theme-install.php
- Timestamp:
- 09/21/2016 05:53:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/theme-install.php
r38071 r38640 38 38 'themes' => false, 39 39 'settings' => array( 40 'isInstall' 41 'canInstall' 42 'installURI' 43 'adminUrl' 40 'isInstall' => true, 41 'canInstall' => current_user_can( 'install_themes' ), 42 'installURI' => current_user_can( 'install_themes' ) ? self_admin_url( 'theme-install.php' ) : null, 43 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ) 44 44 ), 45 45 'l10n' => array( 46 'addNew' => __( 'Add New Theme' ), 47 'search' => __( 'Search Themes' ), 48 'searchPlaceholder' => __( 'Search themes...' ), // placeholder (no ellipsis) 49 'upload' => __( 'Upload Theme' ), 50 'back' => __( 'Back' ), 51 'error' => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ), 52 'themesFound' => __( 'Number of Themes found: %d' ), 53 'noThemesFound' => __( 'No themes found. Try a different search.' ), 54 'collapseSidebar' => __( 'Collapse Sidebar' ), 55 'expandSidebar' => __( 'Expand Sidebar' ), 46 'addNew' => __( 'Add New Theme' ), 47 'search' => __( 'Search Themes' ), 48 'searchPlaceholder' => __( 'Search themes...' ), // placeholder (no ellipsis) 49 'upload' => __( 'Upload Theme' ), 50 'back' => __( 'Back' ), 51 'error' => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ), 52 'themesFound' => __( 'Number of Themes found: %d' ), 53 'noThemesFound' => __( 'No themes found. Try a different search.' ), 54 'collapseSidebar' => __( 'Collapse Sidebar' ), 55 'expandSidebar' => __( 'Expand Sidebar' ), 56 /* translators: hidden accessibility text */ 57 'selectFeatureFilter' => __( 'Select one or more Theme features to filter by' ), 56 58 ), 57 59 'installedThemes' => array_keys( $installed_themes ), … … 153 155 </ul> 154 156 155 < a class="drawer-toggle" href="#"><?php _e( 'Feature Filter' ); ?></a>157 <button type="button" class="button drawer-toggle" aria-expanded="false"><?php _e( 'Feature Filter' ); ?></button> 156 158 157 159 <div class="search-form"></div> … … 179 181 <div class="filter-drawer"> 180 182 <div class="buttons"> 181 < a class="apply-filters button button-secondary" href="#"><?php _e( 'Apply Filters' ); ?><span></span></a>182 < a class="clear-filters button button-secondary" href="#"><?php _e( 'Clear' ); ?></a>183 <button type="button" class="apply-filters button"><?php _e( 'Apply Filters' ); ?><span></span></button> 184 <button type="button" class="clear-filters button" aria-label="<?php esc_attr_e( 'Clear current filters' ); ?>"><?php _e( 'Clear' ); ?></button> 183 185 </div> 184 186 <?php … … 198 200 } 199 201 ?> 202 <div class="buttons"> 203 <button type="button" class="apply-filters button"><?php _e( 'Apply Filters' ); ?><span></span></button> 204 <button type="button" class="clear-filters button" aria-label="<?php esc_attr_e( 'Clear current filters' ); ?>"><?php _e( 'Clear' ); ?></button> 205 </div> 200 206 <div class="filtered-by"> 201 207 <span><?php _e( 'Filtering by:' ); ?></span> 202 208 <div class="tags"></div> 203 < a href="#"><?php _e( 'Edit' ); ?></a>209 <button type="button" class="button-link edit-filters"><?php _e( 'Edit Filters' ); ?></button> 204 210 </div> 205 211 </div>
Note: See TracChangeset
for help on using the changeset viewer.