In `wp-login.php`, `break` is unreachable after `exit`
See #27882. Built from https://develop.svn.wordpress.org/trunk@28340 git-svn-id: http://core.svn.wordpress.org/trunk@28168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
361e3e1ee6
commit
aa83aea519
|
@ -469,8 +469,6 @@ case 'postpass' :
|
||||||
wp_safe_redirect( wp_get_referer() );
|
wp_safe_redirect( wp_get_referer() );
|
||||||
exit();
|
exit();
|
||||||
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'logout' :
|
case 'logout' :
|
||||||
check_admin_referer('log-out');
|
check_admin_referer('log-out');
|
||||||
wp_logout();
|
wp_logout();
|
||||||
|
@ -479,8 +477,6 @@ case 'logout' :
|
||||||
wp_safe_redirect( $redirect_to );
|
wp_safe_redirect( $redirect_to );
|
||||||
exit();
|
exit();
|
||||||
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'lostpassword' :
|
case 'lostpassword' :
|
||||||
case 'retrievepassword' :
|
case 'retrievepassword' :
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue