diff --git a/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php b/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php index 1ead01d5c..dac6e3014 100644 --- a/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php +++ b/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php @@ -11,7 +11,7 @@ */ function process_badges() { - if ( ! current_user_can( 'manage_options' ) || ! wp_verify_nonce( 'badge-submission' ) ) { + if ( ! current_user_can( 'manage_options' ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'badge-submission' ) ) { return __( 'Invalid request', 'wordcamporg' ); }