Changeset 55703 for trunk/src/wp-login.php
- Timestamp:
- 05/02/2023 03:43:03 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r55412 r55703 14 14 // Redirect to HTTPS login if forced to use SSL. 15 15 if ( force_ssl_admin() && ! is_ssl() ) { 16 if ( 0 === strpos( $_SERVER['REQUEST_URI'], 'http' ) ) {16 if ( str_starts_with( $_SERVER['REQUEST_URI'], 'http' ) ) { 17 17 wp_safe_redirect( set_url_scheme( $_SERVER['REQUEST_URI'], 'https' ) ); 18 18 exit;
Note: See TracChangeset
for help on using the changeset viewer.