Changeset 41658
- Timestamp:
- 10/01/2017 01:47:29 PM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r41648 r41658 633 633 <script type="text/html" id="tmpl-customize-themes-details-view"> 634 634 <div class="theme-backdrop"></div> 635 <div class="theme-wrap wp-clearfix" >635 <div class="theme-wrap wp-clearfix" role="document"> 636 636 <div class="theme-header"> 637 637 <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button> -
trunk/src/wp-admin/js/theme.js
r41608 r41658 684 684 // Set initial focus on the primary action control. 685 685 _.delay( function() { 686 $( '.theme- wrap a.button-primary:visible' ).focus();686 $( '.theme-overlay' ).focus(); 687 687 }, 100 ); 688 688 … … 1604 1604 $( 'body' ).removeClass( 'loading-content' ); 1605 1605 $( '.theme-browser' ).find( 'div.error' ).remove(); 1606 $( '.theme-browser' ).find( 'div.themes' ).before( '<div class="error"><p>' + l10n.error + '</p><p><button class="button try-again">' + l10n.tryAgain + '</button></p></div>' ); 1607 $( '.theme-browser .error .try-again' ).on( 'click', function( e ) { 1608 e.preventDefault(); 1609 $( 'input.wp-filter-search' ).trigger( 'input' ); 1606 $( '.theme-browser' ).find( 'div.themes' ).before( '<div class="error"><p>' + l10n.error + '</p><p><button class="button try-again">' + l10n.tryAgain + '</button></p></div>' ); 1607 $( '.theme-browser .error .try-again' ).on( 'click', function( e ) { 1608 e.preventDefault(); 1609 $( 'input.wp-filter-search' ).trigger( 'input' ); 1610 1610 } ); 1611 1611 }); -
trunk/src/wp-admin/themes.php
r41608 r41658 302 302 </div> 303 303 </div> 304 <div class="theme-overlay" ></div>304 <div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div> 305 305 306 306 <p class="no-themes"><?php _e( 'No themes found. Try a different search query.' ); ?></p> … … 432 432 <script id="tmpl-theme-single" type="text/template"> 433 433 <div class="theme-backdrop"></div> 434 <div class="theme-wrap wp-clearfix" >434 <div class="theme-wrap wp-clearfix" role="document"> 435 435 <div class="theme-header"> 436 436 <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
Note: See TracChangeset
for help on using the changeset viewer.