Media list table: Fix the categories column, hidden thanks to a typo. props eddiemoya, fixes #22764. see #21240, #21391.

git-svn-id: http://core.svn.wordpress.org/trunk@23081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-12-05 22:49:51 +00:00
parent 7dab3d4538
commit ce11438e77

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