Set IFRAME_REQUEST for theme-information iframe. Props Utkarsh. see #15509
git-svn-id: http://svn.automattic.com/wordpress/trunk@16654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b28a8c0061
commit
93f077ce74
|
@ -6,6 +6,9 @@
|
||||||
* @subpackage Administration
|
* @subpackage Administration
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
|
||||||
|
define( 'IFRAME_REQUEST', true );
|
||||||
|
|
||||||
/** WordPress Administration Bootstrap */
|
/** WordPress Administration Bootstrap */
|
||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue