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:
parent
f93010c7ff
commit
c44cd2b999
@ -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') ) )
|
||||
|
Loading…
Reference in New Issue
Block a user