diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index a04970a931..190edaba3d 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -635,8 +635,10 @@ class WP_Posts_List_Table extends WP_List_Table { $taxonomy = 'post_tag'; elseif ( 0 === strpos( $column_name, 'taxonomy-' ) ) $taxonomy = substr( $column_name, 9 ); + else + $taxonomy = false; - if ( ! empty( $taxonomy ) ) { + if ( $taxonomy ) { $taxonomy_object = get_taxonomy( $taxonomy ); echo '