Changeset 47209
- Timestamp:
- 02/07/2020 09:36:59 PM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/edit.css
r47147 r47209 996 996 div.tabs-panel-inactive { 997 997 display: none; 998 } 999 1000 div.tabs-panel-active:focus { 1001 box-shadow: inset 0 0 0 1px #5b9dd9, inset 0 0 2px 1px rgba(30, 140, 190, 0.8); 1002 outline: 0 none; 998 1003 } 999 1004 -
trunk/src/wp-admin/includes/nav-menu.php
r47198 r47209 336 336 337 337 $post_type_name = $box['args']->name; 338 $post_type = get_post_type_object( $post_type_name ); 338 339 339 340 // Paginate browsing for large numbers of post objects. … … 518 519 </ul><!-- .posttype-tabs --> 519 520 520 <div id="tabs-panel-posttype-<?php echo $post_type_name; ?>-most-recent" class="tabs-panel <?php echo ( 'most-recent' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" >521 <div id="tabs-panel-posttype-<?php echo $post_type_name; ?>-most-recent" class="tabs-panel <?php echo ( 'most-recent' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" role="region" aria-label="<?php _e( 'Most Recent' ); ?>" tabindex="0"> 521 522 <ul id="<?php echo $post_type_name; ?>checklist-most-recent" class="categorychecklist form-no-clear"> 522 523 <?php … … 553 554 </div><!-- /.tabs-panel --> 554 555 555 <div class="tabs-panel <?php echo ( 'search' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" id="tabs-panel-posttype-<?php echo $post_type_name; ?>-search" >556 <div class="tabs-panel <?php echo ( 'search' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" id="tabs-panel-posttype-<?php echo $post_type_name; ?>-search" role="region" aria-label="<?php echo $post_type->labels->search_items; ?>" tabindex="0"> 556 557 <?php 557 558 if ( isset( $_REQUEST[ 'quick-search-posttype-' . $post_type_name ] ) ) { … … 591 592 </div><!-- /.tabs-panel --> 592 593 593 <div id="<?php echo $post_type_name; ?>-all" class="tabs-panel tabs-panel-view-all <?php echo ( 'all' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" >594 <div id="<?php echo $post_type_name; ?>-all" class="tabs-panel tabs-panel-view-all <?php echo ( 'all' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" role="region" aria-label="<?php echo $post_type->labels->all_items; ?>" tabindex="0"> 594 595 <?php if ( ! empty( $page_links ) ) : ?> 595 596 <div class="add-menu-item-pagelinks"> … … 600 601 <?php 601 602 $args['walker'] = $walker; 602 603 $post_type = get_post_type_object( $post_type_name );604 603 605 604 if ( $post_type->has_archive ) { … … 687 686 function wp_nav_menu_item_taxonomy_meta_box( $object, $box ) { 688 687 global $nav_menu_selected_id; 688 689 689 $taxonomy_name = $box['args']->name; 690 690 $taxonomy = get_taxonomy( $taxonomy_name ); … … 804 804 </ul><!-- .taxonomy-tabs --> 805 805 806 <div id="tabs-panel-<?php echo $taxonomy_name; ?>-pop" class="tabs-panel <?php echo ( 'most-used' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?> 806 <div id="tabs-panel-<?php echo $taxonomy_name; ?>-pop" class="tabs-panel <?php echo ( 'most-used' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" role="region" aria-label="<?php echo $taxonomy->labels->most_used; ?>" tabindex="0"> 807 807 <ul id="<?php echo $taxonomy_name; ?>checklist-pop" class="categorychecklist form-no-clear" > 808 808 <?php … … 822 822 </div><!-- /.tabs-panel --> 823 823 824 <div id="tabs-panel-<?php echo $taxonomy_name; ?>-all" class="tabs-panel tabs-panel-view-all <?php echo ( 'all' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?> 824 <div id="tabs-panel-<?php echo $taxonomy_name; ?>-all" class="tabs-panel tabs-panel-view-all <?php echo ( 'all' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" role="region" aria-label="<?php echo $taxonomy->labels->all_items; ?>" tabindex="0"> 825 825 <?php if ( ! empty( $page_links ) ) : ?> 826 826 <div class="add-menu-item-pagelinks"> … … 841 841 </div><!-- /.tabs-panel --> 842 842 843 <div class="tabs-panel <?php echo ( 'search' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" id="tabs-panel-search-taxonomy-<?php echo $taxonomy_name; ?>" >843 <div class="tabs-panel <?php echo ( 'search' == $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>" id="tabs-panel-search-taxonomy-<?php echo $taxonomy_name; ?>" role="region" aria-label="<?php echo $taxonomy->labels->search_items; ?>" tabindex="0"> 844 844 <?php 845 845 if ( isset( $_REQUEST[ 'quick-search-taxonomy-' . $taxonomy_name ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.