Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function test_email_invite_acceptance_succeeds_for_existing_member() {
* @throws \RuntimeException If the request fails for a reason other than the redirect.
*/
private function run_invite_request() {
$redirect = function () {
$redirect = function ( $location ) {
throw new \RuntimeException( self::REDIRECTED ); // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped
};
add_filter( 'wp_redirect', $redirect, 1 );
Expand Down
Loading