Don't show 'Uncategorized' in the category column on edit.php if there are no categories (including the default one). props ocean90. fixes #21240.

git-svn-id: http://core.svn.wordpress.org/trunk@21806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-09-11 01:31:53 +00:00
parent f84f149445
commit 884a89055b
1 changed files with 1 additions and 4 deletions

View File

@ -670,10 +670,7 @@ class WP_Posts_List_Table extends WP_List_Table {
/* translators: used between list items, there is a space after the comma */
echo join( __( ', ' ), $out );
} else {
if ( 'category' == $taxonomy )
echo __( 'Uncategorized' );
else
echo '—';
echo '—';
}
echo '</td>';
break;