Changeset 41987
- Timestamp:
- 10/24/2017 11:21:47 AM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r41910 r41987 999 999 <ul id="category-tabs" class="category-tabs"> 1000 1000 <li class="tabs"><a href="#categories-all"><?php _e( 'All Categories' ); ?></a></li> 1001 <li class="hide-if-no-js"><a href="#categories-pop"><?php _e ( 'Most Used' ); ?></a></li>1001 <li class="hide-if-no-js"><a href="#categories-pop"><?php _ex( 'Most Used', 'categories' ); ?></a></li> 1002 1002 </ul> 1003 1003 -
trunk/src/wp-admin/includes/nav-menu.php
r41941 r41987 608 608 global $nav_menu_selected_id; 609 609 $taxonomy_name = $box['args']->name; 610 $taxonomy = get_taxonomy( $taxonomy_name ); 610 611 611 612 // Paginate browsing for large numbers of objects. … … 683 684 <li <?php echo ( 'most-used' == $current_tab ? ' class="tabs"' : '' ); ?>> 684 685 <a class="nav-tab-link" data-type="tabs-panel-<?php echo esc_attr( $taxonomy_name ); ?>-pop" href="<?php if ( $nav_menu_selected_id ) echo esc_url(add_query_arg($taxonomy_name . '-tab', 'most-used', remove_query_arg($removed_args))); ?>#tabs-panel-<?php echo $taxonomy_name; ?>-pop"> 685 <?php _e( 'Most Used'); ?>686 <?php echo esc_html( $taxonomy->labels->most_used ); ?> 686 687 </a> 687 688 </li> -
trunk/src/wp-includes/taxonomy.php
r41809 r41987 489 489 * @type string $items_list_navigation Label for the table pagination hidden heading. 490 490 * @type string $items_list Label for the table hidden heading. 491 * @type string $most_used Title used for the Most Used panel. Not used for non-hierarchical 492 * taxonomies. Default 'Most Used'. 491 * @type string $most_used Title for the Most Used tab. Default 'Most Used'. 493 492 * @type string $back_to_items Label displayed after a term has been updated. 494 493 * } … … 524 523 'items_list' => array( __( 'Tags list' ), __( 'Categories list' ) ), 525 524 /* translators: Tab heading when selecting from the most used terms */ 526 'most_used' => array( null, _x( 'Most Used', 'Most usedcategories' ) ),525 'most_used' => array( _x( 'Most Used', 'tags' ), _x( 'Most Used', 'categories' ) ), 527 526 'back_to_items' => array( __( '← Back to Tags' ), __( '← Back to Categories' ) ), 528 527 );
Note: See TracChangeset
for help on using the changeset viewer.