Update to use get_settings (via Otsukare in http://wordpress.org/support/6/3213#post-3)
git-svn-id: https://develop.svn.wordpress.org/trunk@966 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a95c8313cb
commit
484d60853a
@ -67,7 +67,7 @@ case 'login':
|
||||
$user = get_userdatabylogin($log);
|
||||
|
||||
if (0 == $user->user_level) {
|
||||
$redirect_to = $site . '/wp-admin/profile.php';
|
||||
$redirect_to = get_settings('siteurl') . '/wp-admin/profile.php';
|
||||
}
|
||||
|
||||
function login() {
|
||||
|
Loading…
Reference in New Issue
Block a user