diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php index 41c50805d2..2c2bf7c39b 100644 --- a/wp-admin/includes/class-wp-media-list-table.php +++ b/wp-admin/includes/class-wp-media-list-table.php @@ -343,7 +343,7 @@ foreach ( $columns as $column_name => $column_display_name ) { default: if ( 'categories' == $column_name ) $taxonomy = 'category'; - if ( 'tags' == $column_name ) + elseif ( 'tags' == $column_name ) $taxonomy = 'post_tag'; elseif ( 0 === strpos( $column_name, 'taxonomy-' ) ) $taxonomy = substr( $column_name, 9 );