studio2011 initial commit
This commit is contained in:
commit
5b27f5079e
1004 files changed
+226013
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* WordPress User Administration Bootstrap
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
* @since 3.1.0
|
||||
*/
|
||||
|
||||
define('WP_USER_ADMIN', TRUE);
|
||||
|
||||
require_once( dirname(dirname(__FILE__)) . '/admin.php');
|
||||
|
||||
if ( ! is_multisite() ) {
|
||||
wp_redirect( admin_url() );
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
|
||||
wp_redirect( user_admin_url() );
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user