Changeset 47855 for trunk/src/wp-login.php
- Timestamp:
- 05/26/2020 09:35:34 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r47771 r47855 16 16 if ( 0 === strpos( $_SERVER['REQUEST_URI'], 'http' ) ) { 17 17 wp_safe_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) ); 18 exit ();18 exit; 19 19 } else { 20 20 wp_safe_redirect( 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); 21 exit ();21 exit; 22 22 } 23 23 } … … 757 757 758 758 wp_safe_redirect( wp_get_referer() ); 759 exit ();759 exit; 760 760 761 761 case 'logout': … … 793 793 794 794 wp_safe_redirect( $redirect_to ); 795 exit ();795 exit; 796 796 797 797 case 'lostpassword': … … 803 803 $redirect_to = ! empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : 'wp-login.php?checkemail=confirm'; 804 804 wp_safe_redirect( $redirect_to ); 805 exit ();805 exit; 806 806 } 807 807 } … … 1037 1037 if ( ! get_option( 'users_can_register' ) ) { 1038 1038 wp_redirect( site_url( 'wp-login.php?registration=disabled' ) ); 1039 exit ();1039 exit; 1040 1040 } 1041 1041 … … 1057 1057 $redirect_to = ! empty( $_POST['redirect_to'] ) ? $_POST['redirect_to'] : 'wp-login.php?checkemail=registered'; 1058 1058 wp_safe_redirect( $redirect_to ); 1059 exit ();1059 exit; 1060 1060 } 1061 1061 }
Note: See TracChangeset
for help on using the changeset viewer.