From 81cb647692975dde60529db3b2fc60faec7c770f Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sun, 24 Jun 2007 05:05:22 +0000 Subject: [PATCH] Only hide comments column for pending, future, and draft posts. see #4446 git-svn-id: https://develop.svn.wordpress.org/trunk@5748 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 6d03527514..b79f6396b9 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -39,7 +39,7 @@ if ( !in_array($_GET['post_status'], array('pending', 'draft')) ) $posts_columns['date'] = __('When'); $posts_columns['title'] = __('Title'); $posts_columns['categories'] = __('Categories'); -if ( 'publish' == $_GET['post_status'] ) +if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) ) $posts_columns['comments'] = '
' . __('Comments') . '
'; $posts_columns['author'] = __('Author');