Skip to content

Commit

Permalink
Ensure that validation query vars persist through redirects (#4544)
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Apr 7, 2020
1 parent e068d85 commit d875e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/validation/class-amp-validation-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ public static function validate_url( $url ) {
break;
}

$validation_url = $location_header;
$validation_url = add_query_arg( $added_query_vars, $location_header );
}

if ( is_wp_error( $r ) ) {
Expand Down

0 comments on commit d875e92

Please sign in to comment.