Reset $taxonomy in single_row's default branch. props tott. fixes #21240.
git-svn-id: https://develop.svn.wordpress.org/trunk@21945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c58ef9f33
commit
8565aa6e34
@ -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 '<td ' . $attributes . '>';
|
||||
if ( $terms = get_the_terms( $post->ID, $taxonomy ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user