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: http://svn.automattic.com/wordpress/trunk@19295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-15 03:51:28 +00:00
parent a25b873fd4
commit c657c79258

View File

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