We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e401e7 commit 9555c1fCopy full SHA for 9555c1f
1 file changed
inc/cleantalk-public-validate.php
@@ -398,6 +398,22 @@ function_exists('hivepress') &&
398
),
399
)
400
);
401
+ } elseif(
402
+ // BuddyBoss App - request from mobile app usually
403
+ apbct_is_plugin_active('buddyboss-app/buddyboss-app.php') &&
404
+ Server::getString('REQUEST_URI') === '/wp-json/buddyboss-app/v1/signup'
405
+ ) {
406
+ $data = [
407
+ 'code' => 'bp_rest_register_errors',
408
+ 'message' => [
409
+ 'signup_email' => $ct_result->comment
410
+ ],
411
+ 'data' => [
412
+ 'status' => 403,
413
414
+ ];
415
+ wp_send_json($data);
416
+
417
} else {
418
ct_die(null, null);
419
}
0 commit comments