Correct a copy-paste error in wp_manage_posts_columns().

git-svn-id: http://svn.automattic.com/wordpress/trunk@13759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-03-18 22:34:58 +00:00
parent b4b9f6075d
commit 3a599d714e
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') ) )