mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
a25b873fd4
commit
c657c79258
@ -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 = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user