Skip to content

Commit

Permalink
fix: use die instead of give_die
Browse files Browse the repository at this point in the history
to prevent expected result output from wp_die

ref #4071
  • Loading branch information
ravinderk committed Apr 1, 2019
1 parent b9cb4fc commit cbd3b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/api/class-give-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ public function output( $status_code = 200 ) {
*/
do_action( 'give_api_output_after', $this->data, $this, $format );

give_die();
die();
}

/**
Expand Down

0 comments on commit cbd3b65

Please sign in to comment.