Changeset 5748

Show
Ignore:
Timestamp:
06/24/07 05:05:22 (1 year ago)
Author:
markjaquith
Message:

Only hide comments column for pending, future, and draft posts. see #4446

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit.php

    r5707 r5748  
    4040$posts_columns['title'] = __('Title'); 
    4141$posts_columns['categories'] = __('Categories'); 
    42 if ( 'publish' == $_GET['post_status']
     42if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future'))
    4343    $posts_columns['comments'] = '<div style="text-align: center">' . __('Comments') . '</div>'; 
    4444$posts_columns['author'] = __('Author');