Changeset 42907 for branches/3.7
- Timestamp:
- 04/03/2018 03:29:44 PM (8 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 42892
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-login.php
r30421 r42907 15 15 if ( force_ssl_admin() && ! is_ssl() ) { 16 16 if ( 0 === strpos($_SERVER['REQUEST_URI'], 'http') ) { 17 wp_ redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) );17 wp_safe_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) ); 18 18 exit(); 19 19 } else { 20 wp_ redirect( 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );20 wp_safe_redirect( 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); 21 21 exit(); 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.