WordPress.org

Make WordPress Core

Ticket #15724: 15724.bulk.diff

File 15724.bulk.diff, 1.1 KB (added by duck_, 5 years ago)
  • wp-admin/update.php

     
    66 * @subpackage Administration 
    77 */ 
    88 
    9 if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) ) 
     9if ( !defined('IFRAME_REQUEST') && isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) ) 
    1010        define('IFRAME_REQUEST' , true); 
    1111 
    1212/** WordPress Administration Bootstrap */ 
  • wp-admin/network/update.php

     
    77 * @since 3.1.0 
    88 */ 
    99 
     10if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) ) 
     11        define('IFRAME_REQUEST' , true); 
     12 
    1013/** Load WordPress Administration Bootstrap */ 
    1114require_once( './admin.php' ); 
    1215