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

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