Correct a copy-paste error in wp_manage_posts_columns().

git-svn-id: https://develop.svn.wordpress.org/trunk@13759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-03-18 22:34:58 +00:00
parent f93010c7ff
commit c44cd2b999
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ function wp_manage_posts_columns( $screen = '') {
$posts_columns['author'] = __('Author');
if ( empty($post_type) || is_object_in_taxonomy($post_type, 'category') )
$posts_columns['categories'] = __('Categories');
if ( empty($post_type) || is_object_in_taxonomy($post_type, 'category') )
if ( empty($post_type) || is_object_in_taxonomy($post_type, 'post_tag') )
$posts_columns['tags'] = __('Tags');
$post_status = !empty($_REQUEST['post_status']) ? $_REQUEST['post_status'] : 'all';
if ( !in_array( $post_status, array('pending', 'draft', 'future') ) && ( empty($post_type) || post_type_supports($post_type, 'comments') ) )