mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Introduce is_multisite(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12609 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
require_once('admin.php');
|
||||
|
||||
if ( !is_multisite() )
|
||||
wp_die( __('Multisite support is not enabled.') );
|
||||
|
||||
if( is_site_admin() == false ) {
|
||||
wp_die( __('You do not have permission to access this page.') );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user