ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

update.php (450B)


      1 <?php
      2 /**
      3  * Update/Install Plugin/Theme network administration panel.
      4  *
      5  * @package WordPress
      6  * @subpackage Multisite
      7  * @since 3.1.0
      8  */
      9 
     10 if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ), true ) ) {
     11 	define( 'IFRAME_REQUEST', true );
     12 }
     13 
     14 /** Load WordPress Administration Bootstrap */
     15 require_once __DIR__ . '/admin.php';
     16 
     17 require ABSPATH . 'wp-admin/update.php';