Make WordPress Core

Changeset 24833


Ignore:
Timestamp:
07/28/2013 11:01:56 PM (12 years ago)
Author:
nacin
Message:

Add description argument to register_taxonomy().

props aaronholbrook.
fixes #24808.

File:
1 edited

Legend:

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

    r24829 r24833  
    301301 * labels - An array of labels for this taxonomy. You can see accepted values in {@link get_taxonomy_labels()}. By default tag labels are used for non-hierarchical types and category labels for hierarchical ones.
    302302 *
     303 * description - A short descriptive summary of what the taxonomy is for. Defaults to blank.
     304 *
    303305 * @package WordPress
    304306 * @subpackage Taxonomy
     
    330332        'capabilities' => array(),
    331333        'show_in_nav_menus' => null,
     334        'description' => '',
    332335    );
    333336    $args = wp_parse_args($args, $defaults);
Note: See TracChangeset for help on using the changeset viewer.