Require show_ui rather than public for a taxonomy's parent post type. see #19080.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-10-29 05:30:57 +00:00
parent 5c5e45abda
commit 4c9afe489a
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class WP_Terms_List_Table extends WP_List_Table {
$tax = get_taxonomy( $taxonomy );
if ( empty( $post_type ) || !in_array( $post_type, get_post_types( array( 'public' => true ) ) ) )
if ( empty( $post_type ) || !in_array( $post_type, get_post_types( array( 'show_ui' => true ) ) ) )
$post_type = 'post';
parent::__construct( array(