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
This commit is contained in:
parent
904a670a28
commit
9d24f16fd1
@ -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
Block a user