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-admin.php

    r12605 r12609  
    11<?php
    22require_once('admin.php');
     3
     4if ( !is_multisite() )
     5    wp_die( __('Multisite support is not enabled.') );
    36
    47$title = __('WordPress MU &rsaquo; Admin');
     
    1215require_once('admin-header.php');
    1316
    14 if( is_site_admin() == false ) {
     17if ( is_site_admin() == false ) {
    1518    wp_die( __('You do not have permission to access this page.') );
    1619}
Note: See TracChangeset for help on using the changeset viewer.