Changeset 37742 for trunk/src/wp-admin/theme-install.php
- Timestamp:
- 06/17/2016 08:46:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/theme-install.php
r37714 r37742 128 128 $tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) ); 129 129 if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) { 130 echo ' < a href="#" class="upload-view-toggle page-title-action">' . __( 'Upload Theme' ) . '</a>';130 echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload Theme' ) . '</button>'; 131 131 } 132 132 ?></h1> 133 <div class="error hide-if-js"> 134 <p><?php _e( 'The Theme Installer screen requires JavaScript.' ); ?></p> 135 </div> 133 136 134 137 <div class="upload-theme"> … … 136 139 </div> 137 140 138 <h2 class="screen-reader-text "><?php _e( 'Filter themes list' ); ?></h2>139 140 <div class="wp-filter ">141 <h2 class="screen-reader-text hide-if-no-js"><?php _e( 'Filter themes list' ); ?></h2> 142 143 <div class="wp-filter hide-if-no-js"> 141 144 <div class="filter-count"> 142 145 <span class="count theme-count"></span> … … 202 205 </div> 203 206 </div> 204 <h2 class="screen-reader-text "><?php _e( 'Themes list' ); ?></h2>207 <h2 class="screen-reader-text hide-if-no-js"><?php _e( 'Themes list' ); ?></h2> 205 208 <div class="theme-browser content-filterable"></div> 206 209 <div class="theme-install-overlay wp-full-overlay expanded"></div>
Note: See TracChangeset
for help on using the changeset viewer.