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: https://develop.svn.wordpress.org/trunk@21806 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bab5d518fe
commit
7846681ed4
@ -670,9 +670,6 @@ 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 '</td>';
|
||||
|
Loading…
Reference in New Issue
Block a user