Make WordPress Core


Ignore:
Timestamp:
02/10/2010 05:43:29 PM (15 years ago)
Author:
ryan
Message:

Use show_ui instead of _show. see #9674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r13035 r13046  
    2222$title = $tax->label;
    2323
    24 if ( empty($post_type) || !in_array( $post_type, get_post_types( array('_show' => true) ) ) )
     24if ( empty($post_type) || !in_array( $post_type, get_post_types( array('show_ui' => true) ) ) )
    2525    $post_type = 'post';
    2626
     
    329329</div>
    330330
    331 <?php 
    332 if ( ! is_taxonomy_hierarchical($taxonomy) ) 
     331<?php
     332if ( ! is_taxonomy_hierarchical($taxonomy) )
    333333    do_action('add_tag_form_fields', $taxonomy);
    334334do_action($taxonomy . '_add_form_fields', $taxonomy);
Note: See TracChangeset for help on using the changeset viewer.