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:
Andrew Nacin 2012-12-05 22:49:51 +00:00
parent bee0035c66
commit a91ebc0abf

View File

@ -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 );