Make WordPress Core


Ignore:
Timestamp:
12/01/2010 06:53:37 PM (15 years ago)
Author:
PeteMall
Message:

Set IFRAME_REQUEST for theme/plugin information iframe. Props SergeyBiryukov, fixes #15509

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-install.php

    r16221 r16658  
    77 */
    88// TODO route this pages via a specific iframe handler instead of the do_action below
    9 if ( isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )
    10     define('IFRAME_REQUEST' , true);
     9if ( !defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )
     10    define( 'IFRAME_REQUEST', true );
    1111
    1212/** WordPress Administration Bootstrap */
Note: See TracChangeset for help on using the changeset viewer.