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:
parent
f2a254db28
commit
2375c19f56
@ -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 = '';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user