mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Update to use get_settings (via Otsukare in http://wordpress.org/support/6/3213#post-3)
git-svn-id: http://svn.automattic.com/wordpress/trunk@966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
87c74b9c6e
commit
dda1e539d1
@ -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