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

git-svn-id: https://develop.svn.wordpress.org/trunk@19295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-11-15 03:51:28 +00:00
parent f2a254db28
commit 2375c19f56
1 changed files with 2 additions and 2 deletions

View File

@ -1443,8 +1443,8 @@ function iframe_footer() {
function _post_states($post) {
$post_states = array();
if ( isset($_GET['post_status']) )
$post_status = $_GET['post_status'];
if ( isset( $_REQUEST['post_status'] ) )
$post_status = $_REQUEST['post_status'];
else
$post_status = '';