mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
Remove 'popular_items' label for hierarchical taxonomies. see [15140], [15141]
git-svn-id: https://develop.svn.wordpress.org/trunk@15142 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8722875136
commit
628f5ab5fc
@ -326,7 +326,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
|
|||||||
* - name - general name for the taxonomy, usually plural. The same as and overriden by $tax->label. Default is Post Tags/Categories
|
* - name - general name for the taxonomy, usually plural. The same as and overriden by $tax->label. Default is Post Tags/Categories
|
||||||
* - singular_name - name for one object of this taxonomy. Default is Post Tag/Category
|
* - singular_name - name for one object of this taxonomy. Default is Post Tag/Category
|
||||||
* - search_items - Default is Search Tags/Search Categories
|
* - search_items - Default is Search Tags/Search Categories
|
||||||
* - popular_items - Default is Popular Tags/Popular Categories
|
* - popular_items - This string isn't used on hierarchical taxonomies. Default is Popular Tags
|
||||||
* - all_items - Default is All Tags/All Categories
|
* - all_items - Default is All Tags/All Categories
|
||||||
* - parent_item - This string isn't used on non-hierarchical taxonomies. In hierarchical ones the default is Parent Category
|
* - parent_item - This string isn't used on non-hierarchical taxonomies. In hierarchical ones the default is Parent Category
|
||||||
* - parent_item_colon - The same as <code>parent_item</code>, but with colon <code>:</code> in the end
|
* - parent_item_colon - The same as <code>parent_item</code>, but with colon <code>:</code> in the end
|
||||||
@ -347,7 +347,7 @@ function get_taxonomy_labels( $tax ) {
|
|||||||
'name' => array( _x( 'Post Tags', 'taxonomy general name' ), _x( 'Categories', 'taxonomy general name' ) ),
|
'name' => array( _x( 'Post Tags', 'taxonomy general name' ), _x( 'Categories', 'taxonomy general name' ) ),
|
||||||
'singular_name' => array( _x( 'Post Tag', 'taxonomy singular name' ), _x( 'Category', 'taxonomy singular name' ) ),
|
'singular_name' => array( _x( 'Post Tag', 'taxonomy singular name' ), _x( 'Category', 'taxonomy singular name' ) ),
|
||||||
'search_items' => array( __( 'Search Tags' ), __( 'Search Categories' ) ),
|
'search_items' => array( __( 'Search Tags' ), __( 'Search Categories' ) ),
|
||||||
'popular_items' => array( __( 'Popular Tags' ), __( 'Popular Categories' ) ),
|
'popular_items' => array( __( 'Popular Tags' ), null ),
|
||||||
'all_items' => array( __( 'All Tags' ), __( 'All Categories' ) ),
|
'all_items' => array( __( 'All Tags' ), __( 'All Categories' ) ),
|
||||||
'parent_item' => array( null, __( 'Parent Category' ) ),
|
'parent_item' => array( null, __( 'Parent Category' ) ),
|
||||||
'parent_item_colon' => array( null, __( 'Parent Category:' ) ),
|
'parent_item_colon' => array( null, __( 'Parent Category:' ) ),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user