mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 02:41:27 +01:00
20 lines
466 B
PHP
20 lines
466 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Install theme network administration panel.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Multisite
|
||
|
* @since 3.1.0
|
||
|
*/
|
||
|
|
||
|
if ( isset( $_GET['tab'] ) && ( 'theme-information' == $_GET['tab'] ) )
|
||
|
define( 'IFRAME_REQUEST', true );
|
||
|
|
||
|
/** Load WordPress Administration Bootstrap */
|
||
|
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||
|
|
||
|
if ( ! is_multisite() )
|
||
|
wp_die( __( 'Multisite support is not enabled.' ) );
|
||
|
|
||
|
require( ABSPATH . 'wp-admin/theme-install.php' );
|