WordPress.org

Make WordPress Core

Ticket #20406: 20406.diff

File 20406.diff, 2.0 KB (added by Caspie, 2 years ago)
  • wp-includes/taxonomy.php

     
    391391 * - parent_item - This string isn't used on non-hierarchical taxonomies. In hierarchical ones the default is Parent Category 
    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. 
     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. 
    400401 * 
    401  * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories.) 
     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 
    404405 * @param object $tax Taxonomy object