WordPress.org

Make WordPress Core

Ticket #26707: 26707.diff

File 26707.diff, 1.1 KB (added by johnbillion, 8 years ago)
  • wp-includes/taxonomy.php

    diff --git wp-includes/taxonomy.php wp-includes/taxonomy.php
    index 2f2ba6f..7d31d8c 100644
    function is_taxonomy_hierarchical($taxonomy) { 
    289289 *     * If not set, the default is inherited from public.
    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
    294296 *     and post_tags_meta_box for non-hierarchical.
    function register_taxonomy( $taxonomy, $object_type, $args = array() ) { 
    336338                'show_in_menu'          => null,
    337339                'show_in_nav_menus'     => null,
    338340                'show_tagcloud'         => null,
     341                'show_admin_column'     => false,
    339342                'meta_box_cb'           => null,
    340343                'capabilities'          => array(),
    341344                'rewrite'               => true,