From 93f077ce74996130c82c1731b2dba6bae4c8266d Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 1 Dec 2010 18:13:54 +0000 Subject: [PATCH] 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 --- wp-admin/theme-install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 7100bd9a9..f4b630197 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -6,6 +6,9 @@ * @subpackage Administration */ +if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) ) + define( 'IFRAME_REQUEST', true ); + /** WordPress Administration Bootstrap */ require_once('./admin.php');