Make WordPress Core

Changeset 26912


Ignore:
Timestamp:
01/07/2014 02:12:03 AM (11 years ago)
Author:
DrewAPicture
Message:

Add inline documentation for the 'show_admin_column' argument added to register_taxonomy() in 3.5.

Also adds a 'show_admin_column' value to the defaults array.

Props johnbillion.
Fixes #26707.

File:
1 edited

Legend:

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

    r26868 r26912  
    290290 * - show_tagcloud - Whether to list the taxonomy in the Tag Cloud Widget.
    291291 *     * If not set, the default is inherited from show_ui.
     292 * - show_admin_column - Whether to display a column for the taxonomy on its post type listing screens.
     293 *     * Defaults to false.
    292294 * - meta_box_cb - Provide a callback function for the meta box display.
    293295 *     * If not set, defaults to post_categories_meta_box for hierarchical taxonomies
     
    337339        'show_in_nav_menus'     => null,
    338340        'show_tagcloud'         => null,
     341        'show_admin_column'     => false,
    339342        'meta_box_cb'           => null,
    340343        'capabilities'          => array(),
Note: See TracChangeset for help on using the changeset viewer.