Skip to content

Commit

Permalink
Merge pull request #117 from mircobabini/patch-1
Browse files Browse the repository at this point in the history
Fix extra args passed to pmpro_confirmation_url filter
  • Loading branch information
dparker1005 committed Jun 10, 2024
2 parents 93b801a + 278115e commit 2f32e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/class.pmprogateway_pbc.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function process(&$order) {
pmpropbc_send_check_pending_email( $order );

// Redirect to the confirmation page and await checkout completion.
$confirmation_url = apply_filters( 'pmpro_confirmation_url', add_query_arg( 'pmpro_level', $order->membership_level->id, pmpro_url("confirmation" ) ), $user_id, $pmpro_level );
$confirmation_url = apply_filters( 'pmpro_confirmation_url', add_query_arg( 'pmpro_level', $order->membership_level->id, pmpro_url("confirmation" ) ), $order->user_id, $order->membership_level );
wp_redirect( $confirmation_url );
exit;
}
Expand Down

0 comments on commit 2f32e6d

Please sign in to comment.