home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress2 / wp-admin / network / update.php < prev    next >
Encoding:
PHP Script  |  2016-09-27  |  458 b   |  17 lines

  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' ) ) )
  11.     define( 'IFRAME_REQUEST', true );
  12.  
  13. /** Load WordPress Administration Bootstrap */
  14. require_once( dirname( __FILE__ ) . '/admin.php' );
  15.  
  16. require( ABSPATH . 'wp-admin/update.php' );
  17.