Changeset 55988 for trunk/src/wp-login.php
- Timestamp:
- 06/22/2023 02:34:56 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r55953 r55988 1230 1230 $redirect_to = $_REQUEST['redirect_to']; 1231 1231 // Redirect to HTTPS if user wants SSL. 1232 if ( $secure_cookie && false !== strpos( $redirect_to, 'wp-admin' ) ) {1232 if ( $secure_cookie && str_contains( $redirect_to, 'wp-admin' ) ) { 1233 1233 $redirect_to = preg_replace( '|^http://|', 'https://', $redirect_to ); 1234 1234 } … … 1367 1367 } elseif ( WP_Recovery_Mode_Link_Service::LOGIN_ACTION_ENTERED === $action ) { 1368 1368 $errors->add( 'enter_recovery_mode', __( 'Recovery Mode Initialized. Please log in to continue.' ), 'message' ); 1369 } elseif ( isset( $_GET['redirect_to'] ) && false !== strpos( $_GET['redirect_to'], 'wp-admin/authorize-application.php' ) ) {1369 } elseif ( isset( $_GET['redirect_to'] ) && str_contains( $_GET['redirect_to'], 'wp-admin/authorize-application.php' ) ) { 1370 1370 $query_component = wp_parse_url( $_GET['redirect_to'], PHP_URL_QUERY ); 1371 1371 $query = array();
Note: See TracChangeset
for help on using the changeset viewer.