wp/wp-admin/network/edit.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
child 9 177826044cd9
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
     7  * @since 3.0.0
     7  * @since 3.0.0
     8  */
     8  */
     9 
     9 
    10 /** Load WordPress Administration Bootstrap */
    10 /** Load WordPress Administration Bootstrap */
    11 require_once( dirname( __FILE__ ) . '/admin.php' );
    11 require_once( dirname( __FILE__ ) . '/admin.php' );
    12 
       
    13 if ( ! is_multisite() )
       
    14 	wp_die( __( 'Multisite support is not enabled.' ) );
       
    15 
    12 
    16 if ( empty( $_GET['action'] ) ) {
    13 if ( empty( $_GET['action'] ) ) {
    17 	wp_redirect( network_admin_url() );
    14 	wp_redirect( network_admin_url() );
    18 	exit;
    15 	exit;
    19 }
    16 }