WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/06/2010 08:19:35 PM (10 years ago)
Author:
ryan
Message:

Introduce is_multisite(). see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-upgrade-site.php

    r12605 r12609  
    11<?php
    22require_once('admin.php');
     3
     4if ( !is_multisite() )
     5    wp_die( __('Multisite support is not enabled.') );
     6
    37require_once( ABSPATH . WPINC . '/http.php' );
    48
     
    711require_once('admin-header.php');
    812
    9 if( is_site_admin() == false ) {
     13if ( is_site_admin() == false ) {
    1014    wp_die( __('You do not have permission to access this page.') );
    1115}
Note: See TracChangeset for help on using the changeset viewer.