From e385ea93d865f65e06019afd12d3c8eef8e1ffdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20P=C3=B6rtner?= Date: Fri, 21 May 2021 15:37:03 +0200 Subject: [PATCH] removed nonce validation --- includes/smartphoniker-util.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/smartphoniker-util.php b/includes/smartphoniker-util.php index 656db0f..00820a9 100644 --- a/includes/smartphoniker-util.php +++ b/includes/smartphoniker-util.php @@ -55,9 +55,10 @@ function get_all_posts( $post_type = null, string $category = null ): array { * * @since 1.0.0 * @since 1.0.5 moved to util file + * @since 1.1.0 removed nonce validation */ function validate_ajax_request() { - return validate_nonce() && validate_recaptcha(); + return validate_recaptcha(); }