diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 32e65f5d77..4fc3b72fef 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -344,7 +344,11 @@ function get_inline_data( $post ) { foreach ( $taxonomy_names as $taxonomy_name ) { $taxonomy = get_taxonomy( $taxonomy_name ); - if ( $taxonomy->hierarchical && $taxonomy->show_ui ) { + if ( ! $taxonomy->show_in_quick_edit ) { + continue; + } + + if ( $taxonomy->hierarchical ) { $terms = get_object_term_cache( $post->ID, $taxonomy_name ); if ( false === $terms ) { @@ -355,7 +359,7 @@ function get_inline_data( $post ) { echo '
' . implode( ',', $term_ids ) . '
'; - } elseif ( $taxonomy->show_ui ) { + } else { $terms_to_edit = get_terms_to_edit( $post->ID, $taxonomy_name ); if ( ! is_string( $terms_to_edit ) ) {