WordPress.org

Make WordPress Core

Changeset 19089


Ignore:
Timestamp:
10/29/2011 05:30:57 AM (9 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-terms-list-table.php

    r19043 r19089  
    2525        $tax = get_taxonomy( $taxonomy );
    2626
    27         if ( empty( $post_type ) || !in_array( $post_type, get_post_types( array( 'public' => true ) ) ) )
     27        if ( empty( $post_type ) || !in_array( $post_type, get_post_types( array( 'show_ui' => true ) ) ) )
    2828            $post_type = 'post';
    2929
Note: See TracChangeset for help on using the changeset viewer.