WordPress.org

Make WordPress Core

Changeset 20436


Ignore:
Timestamp:
04/11/12 20:08:30 (3 years ago)
Author:
nacin
Message:

Add view_item to the phpdoc for get_taxonomy_labels(). props Caspie. fixes #20406.

File:
1 edited

Legend:

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

    r20287 r20436  
    392392 * - parent_item_colon - The same as <code>parent_item</code>, but with colon <code>:</code> in the end 
    393393 * - edit_item - Default is Edit Tag/Edit Category 
     394 * - view_item - Default is View Tag/View Category 
    394395 * - update_item - Default is Update Tag/Update Category 
    395396 * - add_new_item - Default is Add New Tag/Add New Category 
    396397 * - new_item_name - Default is New Tag Name/New Category Name 
    397  * - separate_items_with_commas - This string isn't used on hierarchical taxonomies. Default is "Separate tags with commas," used in the meta box. 
    398  * - add_or_remove_items - This string isn't used on hierarchical taxonomies. Default is "Add or remove tags," used in the meta box when JavaScript is disabled. 
    399  * - choose_from_most_used - This string isn't used on hierarchical taxonomies. Default is "Choose from the most used tags," used in the meta box. 
    400  * 
    401  * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories.) 
     398 * - separate_items_with_commas - This string isn't used on hierarchical taxonomies. Default is "Separate tags with commas", used in the meta box. 
     399 * - add_or_remove_items - This string isn't used on hierarchical taxonomies. Default is "Add or remove tags", used in the meta box when JavaScript is disabled. 
     400 * - choose_from_most_used - This string isn't used on hierarchical taxonomies. Default is "Choose from the most used tags", used in the meta box. 
     401 * 
     402 * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories). 
    402403 * 
    403404 * @since 3.0.0 
Note: See TracChangeset for help on using the changeset viewer.