Media list table: Fix the categories column, hidden thanks to a typo. props eddiemoya, fixes #22764. see #21240, #21391.
git-svn-id: https://develop.svn.wordpress.org/trunk@23081 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bee0035c66
commit
a91ebc0abf
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user