PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 3.21.1
GiveWP – Donation Plugin and Fundraising Platform v3.21.1
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 All 253 releases
← All changes | includes/error-tracking.php +2 -1 2.3.13.21.1 View file →
@@ -47,9 +47,9 @@
47 47 if ( ! $errors ) {
48 48 $errors = array();
49 49 }
50 50
51 - if( is_array( $notice_args ) && ! empty( $notice_args ) ) {
51 + if ( is_array( $notice_args ) && ! empty( $notice_args ) ) {
52 52 $errors[ $error_id ] = array(
53 53 'message' => $error_message,
54 54 'notice_args' => $notice_args,
55 55 );
@@ -126,7 +126,8 @@
126 126 * @return void
127 127 */
128 128 function give_die( $message = '', $title = '', $status = 400 ) {
129 129 add_filter( 'wp_die_ajax_handler', '_give_die_handler', 10, 3 );
130 + add_filter( 'wp_die_json_handler', '_give_die_handler', 10, 3 );
130 131 add_filter( 'wp_die_handler', '_give_die_handler', 10, 3 );
131 132 wp_die( $message, $title, array( 'response' => $status ) );
132 133 }