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:
emc3 2004-03-09 20:23:57 +00:00
parent 87c74b9c6e
commit dda1e539d1

View File

@ -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() {