Skip to content

Commit

Permalink
removed nonce validation
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasPrt committed May 21, 2021
1 parent 6f779f2 commit e385ea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/smartphoniker-util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}


Expand Down

0 comments on commit e385ea9

Please sign in to comment.