WordPress.org

Make WordPress Core

Changeset 16780


Ignore:
Timestamp:
12/07/10 23:05:27 (3 years ago)
Author:
ryan
Message:

Define IFRAME_REQUEST only for framed requests. Props ocean90. fixes #15721

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update.php

    r16735 r16780  
    77 */ 
    88 
    9 define('IFRAME_REQUEST' , true); 
     9if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) ) 
     10    define('IFRAME_REQUEST' , true); 
    1011 
    1112/** WordPress Administration Bootstrap */ 
Note: See TracChangeset for help on using the changeset viewer.