In wp-login.php
, break
is unreachable after exit
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28340 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4bddd84276
commit
451319728b
@ -469,8 +469,6 @@ case 'postpass' :
|
||||
wp_safe_redirect( wp_get_referer() );
|
||||
exit();
|
||||
|
||||
break;
|
||||
|
||||
case 'logout' :
|
||||
check_admin_referer('log-out');
|
||||
wp_logout();
|
||||
@ -479,8 +477,6 @@ case 'logout' :
|
||||
wp_safe_redirect( $redirect_to );
|
||||
exit();
|
||||
|
||||
break;
|
||||
|
||||
case 'lostpassword' :
|
||||
case 'retrievepassword' :
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user