We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb6b517 commit 0504d63Copy full SHA for 0504d63
src/wp-login.php
@@ -1267,7 +1267,10 @@ function wp_login_viewport_meta() {
1267
$errors->add( 'enter_recovery_mode', __( 'Recovery Mode Initialized. Please log in to continue.' ), 'message' );
1268
} elseif ( isset( $_GET['redirect_to'] ) && false !== strpos( $_GET['redirect_to'], 'wp-admin/authorize-application.php' ) ) {
1269
$query_component = wp_parse_url( $_GET['redirect_to'], PHP_URL_QUERY );
1270
- parse_str( $query_component, $query );
+ $query = array();
1271
+ if ( $query_component ) {
1272
+ parse_str( $query_component, $query );
1273
+ }
1274
1275
if ( ! empty( $query['app_name'] ) ) {
1276
/* translators: 1: Website name, 2: Application name. */
0 commit comments