From 2375c19f56c8d4c99ba64e35b8a1115d7ec92032 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 15 Nov 2011 03:51:28 +0000 Subject: [PATCH] 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 --- wp-admin/includes/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index e2be69e9f5..7a6c3c9327 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -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 = '';