Make WordPress Core

Changeset 21806


Ignore:
Timestamp:
09/11/2012 01:31:53 AM (12 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-posts-list-table.php

    r21789 r21806  
    671671                        echo join( __( ', ' ), $out );
    672672                    } else {
    673                         if ( 'category' == $taxonomy )
    674                             echo __( 'Uncategorized' );
    675                         else
    676                             echo '—';
     673                        echo '—';
    677674                    }
    678675                    echo '</td>';
Note: See TracChangeset for help on using the changeset viewer.