Make WordPress Core


Ignore:
Timestamp:
09/11/2011 05:52:46 PM (13 years ago)
Author:
nacin
Message:

Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.

File:
1 edited

Legend:

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

    r18639 r18661  
    370370 *
    371371 * Accepted keys of the label array in the taxonomy object:
    372  * - name - general name for the taxonomy, usually plural. The same as and overridden by $tax->label. Default is Post Tags/Categories
    373  * - singular_name - name for one object of this taxonomy. Default is Post Tag/Category
     372 * - name - general name for the taxonomy, usually plural. The same as and overridden by $tax->label. Default is Tags/Categories
     373 * - singular_name - name for one object of this taxonomy. Default is Tag/Category
    374374 * - search_items - Default is Search Tags/Search Categories
    375375 * - popular_items - This string isn't used on hierarchical taxonomies. Default is Popular Tags
     
    397397
    398398    $nohier_vs_hier_defaults = array(
    399         'name' => array( _x( 'Post Tags', 'taxonomy general name' ), _x( 'Categories', 'taxonomy general name' ) ),
    400         'singular_name' => array( _x( 'Post Tag', 'taxonomy singular name' ), _x( 'Category', 'taxonomy singular name' ) ),
     399        'name' => array( _x( 'Tags', 'taxonomy general name' ), _x( 'Categories', 'taxonomy general name' ) ),
     400        'singular_name' => array( _x( 'Tag', 'taxonomy singular name' ), _x( 'Category', 'taxonomy singular name' ) ),
    401401        'search_items' => array( __( 'Search Tags' ), __( 'Search Categories' ) ),
    402402        'popular_items' => array( __( 'Popular Tags' ), null ),
Note: See TracChangeset for help on using the changeset viewer.