2010-10-20 16:16:03 +02:00
|
|
|
<?php
|
2010-10-21 13:21:13 +02:00
|
|
|
/**
|
|
|
|
* Update/Install Plugin/Theme network administration panel.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
2010-11-10 15:27:15 +01:00
|
|
|
* @subpackage Multisite
|
2010-10-21 13:21:13 +02:00
|
|
|
* @since 3.1.0
|
|
|
|
*/
|
2010-10-20 16:16:03 +02:00
|
|
|
|
2010-12-10 19:25:18 +01:00
|
|
|
if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) )
|
|
|
|
define( 'IFRAME_REQUEST', true );
|
|
|
|
|
2010-11-10 15:27:15 +01:00
|
|
|
/** Load WordPress Administration Bootstrap */
|
2010-10-20 16:16:03 +02:00
|
|
|
require_once( './admin.php' );
|
|
|
|
|
2010-11-10 15:27:15 +01:00
|
|
|
if ( ! is_multisite() )
|
|
|
|
wp_die( __( 'Multisite support is not enabled.' ) );
|
|
|
|
|
2010-10-20 16:16:03 +02:00
|
|
|
require( '../update.php' );
|