update.php 458 B

12345678910111213141516
  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. if ( isset( $_GET['action'] ) && in_array( $_GET['action'], array( 'update-selected', 'activate-plugin', 'update-selected-themes' ) ) )
  10. define( 'IFRAME_REQUEST', true );
  11. /** Load WordPress Administration Bootstrap */
  12. require_once( dirname( __FILE__ ) . '/admin.php' );
  13. require( ABSPATH . 'wp-admin/update.php' );