Skip to content

Commit

Permalink
Test removing the array_merge() call (will probably revert)
Browse files Browse the repository at this point in the history
A unit test is failing,
so test removing the array_merge() call.
  • Loading branch information
kienstra committed Aug 21, 2018
1 parent be8d552 commit 3dac2fd
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 @@ -1655,7 +1655,7 @@ public static function validate_url( $url ) {
}

$url = remove_query_arg(
array_merge( array_keys( $added_query_vars ), array( AMP_Site_Validation::FORCE_VALIDATION_QUERY_VAR ) ),
array_keys( $added_query_vars ),
$validation_url
);

Expand Down

0 comments on commit 3dac2fd

Please sign in to comment.