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