Changeset 47855 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 05/26/2020 09:35:34 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r47808 r47855 1049 1049 if ( 0 === strpos( $_SERVER['REQUEST_URI'], 'http' ) ) { 1050 1050 wp_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) ); 1051 exit ();1051 exit; 1052 1052 } else { 1053 1053 wp_redirect( 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); 1054 exit ();1054 exit; 1055 1055 } 1056 1056 } … … 1080 1080 if ( 0 === strpos( $_SERVER['REQUEST_URI'], 'http' ) ) { 1081 1081 wp_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) ); 1082 exit ();1082 exit; 1083 1083 } else { 1084 1084 wp_redirect( 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); 1085 exit ();1085 exit; 1086 1086 } 1087 1087 } … … 1098 1098 1099 1099 wp_redirect( $login_url ); 1100 exit ();1100 exit; 1101 1101 } 1102 1102 endif;
Note: See TracChangeset
for help on using the changeset viewer.