Make WordPress Core

Changeset 19295


Ignore:
Timestamp:
11/15/2011 03:51:28 AM (15 years ago)
Author:
nacin
Message:

Use REQUEST rather than GET to check the current post status page in _post_states(). Addresses a Quick Edit display issue. fixes #18611.

File:
1 edited

Legend:

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

    r19269 r19295  
    14441444function _post_states($post) {
    14451445        $post_states = array();
    1446         if ( isset($_GET['post_status']) )
    1447                 $post_status = $_GET['post_status'];
     1446        if ( isset( $_REQUEST['post_status'] ) )
     1447                $post_status = $_REQUEST['post_status'];
    14481448        else
    14491449                $post_status = '';
Note: See TracChangeset for help on using the changeset viewer.