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