Commit e8f56ca3 authored by KR Moorhouse's avatar KR Moorhouse Committed by GitHub

Merge pull request #3473 from wpninjas/fix-logged-out-nonce-call

fix nonce ajax call
parents a74314d6 bffc90ac
......@@ -9,6 +9,7 @@ class NF_AJAX_Controllers_Form extends NF_Abstracts_Controller
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
add_action( 'wp_ajax_nf_ajax_get_new_nonce', array( $this, 'get_new_nonce' ) );
add_action( 'wp_ajax_nopriv_nf_ajax_get_new_nonce', array( $this, 'get_new_nonce' ) );
add_action( 'wp_ajax_nf_save_form', array( $this, 'save' ) );
add_action( 'wp_ajax_nf_delete_form', array( $this, 'delete' ) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment