Set IFRAME_REQUEST for theme/plugin information iframe. Props SergeyBiryukov, fixes #15509
git-svn-id: http://svn.automattic.com/wordpress/trunk@16658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
* @subpackage Administration
|
||||
*/
|
||||
// TODO route this pages via a specific iframe handler instead of the do_action below
|
||||
if ( isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )
|
||||
define('IFRAME_REQUEST' , true);
|
||||
if ( !defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )
|
||||
define( 'IFRAME_REQUEST', true );
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once('./admin.php');
|
||||
|
||||
Reference in New Issue
Block a user