WordPress/wp-admin/user/admin.php

11 lines
160 B
PHP

<?php
define('WP_USER_ADMIN', TRUE);
require_once( dirname(dirname(__FILE__)) . '/admin.php');
if ( ! is_main_site() )
wp_redirect( user_admin_url() );
?>