Make WordPress Core


Ignore:
Timestamp:
10/24/2017 11:21:47 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Taxonomy: After [40984], add the most_used label for non-hierarchical taxonomies too, and use it on the Menus screen.

Props johnbillion.
Fixes #41150.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r41809 r41987  
    489489 *     @type string $items_list_navigation      Label for the table pagination hidden heading.
    490490 *     @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'.
    493492 *     @type string $back_to_items              Label displayed after a term has been updated.
    494493 * }
     
    524523        'items_list' => array( __( 'Tags list' ), __( 'Categories list' ) ),
    525524        /* translators: Tab heading when selecting from the most used terms */
    526         'most_used' => array( null, _x( 'Most Used', 'Most used categories' ) ),
     525        'most_used' => array( _x( 'Most Used', 'tags' ), _x( 'Most Used', 'categories' ) ),
    527526        'back_to_items' => array( __( '← Back to Tags' ), __( '← Back to Categories' ) ),
    528527    );
Note: See TracChangeset for help on using the changeset viewer.