2010-10-07 21:34:18 +02:00
|
|
|
<?php
|
2010-10-21 13:14:22 +02:00
|
|
|
/**
|
|
|
|
* WordPress User Administration Bootstrap
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
* @since 3.1.0
|
|
|
|
*/
|
2010-10-07 21:34:18 +02:00
|
|
|
|
|
|
|
define('WP_USER_ADMIN', TRUE);
|
|
|
|
|
|
|
|
require_once( dirname(dirname(__FILE__)) . '/admin.php');
|
|
|
|
|
2011-01-20 04:04:20 +01:00
|
|
|
if ( ! is_multisite() ) {
|
|
|
|
wp_redirect( admin_url() );
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
|
2011-03-08 23:56:12 +01:00
|
|
|
if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
|
2010-10-07 21:34:18 +02:00
|
|
|
wp_redirect( user_admin_url() );
|
2010-12-09 19:02:54 +01:00
|
|
|
exit;
|
|
|
|
}
|
2010-10-07 21:34:18 +02:00
|
|
|
?>
|