WordPress.org

Make WordPress Core

Changeset 15142


Ignore:
Timestamp:
06/04/10 19:21:06 (4 years ago)
Author:
nacin
Message:

Remove 'popular_items' label for hierarchical taxonomies. see [15140], [15141]

File:
1 edited

Legend:

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

    r15116 r15142  
    327327 * - singular_name - name for one object of this taxonomy. Default is Post Tag/Category 
    328328 * - search_items - Default is Search Tags/Search Categories 
    329  * - popular_items - Default is Popular Tags/Popular Categories 
     329 * - popular_items - This string isn't used on hierarchical taxonomies. Default is Popular Tags 
    330330 * - all_items - Default is All Tags/All Categories 
    331331 * - parent_item - This string isn't used on non-hierarchical taxonomies. In hierarchical ones the default is Parent Category 
     
    348348        'singular_name' => array( _x( 'Post Tag', 'taxonomy singular name' ), _x( 'Category', 'taxonomy singular name' ) ), 
    349349        'search_items' => array( __( 'Search Tags' ), __( 'Search Categories' ) ), 
    350         'popular_items' => array( __( 'Popular Tags' ), __( 'Popular Categories' ) ), 
     350        'popular_items' => array( __( 'Popular Tags' ), null ), 
    351351        'all_items' => array( __( 'All Tags' ), __( 'All Categories' ) ), 
    352352        'parent_item' => array( null, __( 'Parent Category' ) ), 
Note: See TracChangeset for help on using the changeset viewer.