Define IFRAME_REQUEST only for framed requests. Props ocean90. fixes #15721
git-svn-id: https://develop.svn.wordpress.org/trunk@16780 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e3d0969ded
commit
a53a2f0f04
@ -6,6 +6,7 @@
|
|||||||
* @subpackage Administration
|
* @subpackage Administration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) )
|
||||||
define('IFRAME_REQUEST' , true);
|
define('IFRAME_REQUEST' , true);
|
||||||
|
|
||||||
/** WordPress Administration Bootstrap */
|
/** WordPress Administration Bootstrap */
|
||||||
|
Loading…
Reference in New Issue
Block a user