Skip to content

Commit 29405a0

Browse files
authored
Ensure that validation query vars persist through redirects (#4544)
1 parent 31d3a8b commit 29405a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/validation/class-amp-validation-manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2077,7 +2077,7 @@ public static function validate_url( $url ) {
20772077
break;
20782078
}
20792079

2080-
$validation_url = $location_header;
2080+
$validation_url = add_query_arg( $added_query_vars, $location_header );
20812081
}
20822082

20832083
if ( is_wp_error( $r ) ) {

0 commit comments

Comments
 (0)