Make WordPress Core


Ignore:
Timestamp:
11/03/2008 06:36:52 AM (17 years ago)
Author:
ryan
Message:

Warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r9488 r9489  
    736736    $posts_columns['title'] = __('Title');
    737737    $posts_columns['author'] = __('Author');
     738    $post_status = 'all';
     739    if ( !empty($_GET['post_status']) )
     740        $post_status = $_GET['post_status'];
    738741    if ( !in_array($post_status, array('pending', 'draft', 'future')) )
    739742        $posts_columns['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>';
Note: See TracChangeset for help on using the changeset viewer.