mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Fix redirect when already logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@3391 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ default:
|
||||
|
||||
do_action('wp_authenticate', array(&$user_login, &$user_pass));
|
||||
|
||||
if ( $_POST ) {
|
||||
if ( $user_login && $user_pass ) {
|
||||
$user = new WP_User(0, $user_login);
|
||||
|
||||
// If the user can't edit posts, send them to their profile.
|
||||
|
||||
Reference in New Issue
Block a user