mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Define IFRAME_REQUEST only if not inline. Props ocean90. fixes #15630
git-svn-id: http://svn.automattic.com/wordpress/trunk@16661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f72e340d6
commit
fab93cc99f
@ -9,7 +9,8 @@
|
|||||||
* @subpackage Administration
|
* @subpackage Administration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('IFRAME_REQUEST' , true);
|
if ( ! isset( $_GET['inline'] ) )
|
||||||
|
define( 'IFRAME_REQUEST' , true );
|
||||||
|
|
||||||
/** Load WordPress Administration Bootstrap */
|
/** Load WordPress Administration Bootstrap */
|
||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user