mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-11 01:51:34 +01:00
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:
parent
b4b9f6075d
commit
3a599d714e
@ -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