Skip to content

Commit

Permalink
Correct sniff code
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue authored May 31, 2021
1 parent 654c4b3 commit 12d2c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/types/class-authorization-code.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function handle_authorization_submission( $submit, Client $client, $da
);

$generated_redirect = add_query_arg( urlencode_deep( $redirect_args ), $redirect_uri );
// phpcs:ignore WordPress.Security.SafeRedirectSniff -- Intentionally external redirect, secured via client registration.
// phpcs:ignore WordPress.Security.SafeRedirect -- Intentionally external redirect, secured via client registration.
wp_redirect( $generated_redirect );
exit;
}
Expand Down

0 comments on commit 12d2c7c

Please sign in to comment.