From 9d24f16fd1b4eb07799f7a5a36913fa08e8c70aa Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@16654 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 7100bd9a98..f4b6301970 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');