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/theme-install.php

    r16654 r16658  
    77 */
    88
    9 if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
     9if ( !defined( 'IFRAME_REQUEST' ) && isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
    1010    define( 'IFRAME_REQUEST', true );
    1111   
Note: See TracChangeset for help on using the changeset viewer.