Commit db7a2f7b authored by KR Moorhouse's avatar KR Moorhouse

Re-added original nonce creation.

parent 293ed4ec
......@@ -576,6 +576,7 @@ final class NF_Display_Render
$data = apply_filters( 'ninja_forms_render_localize_script_data', array(
'adminAjax' => admin_url( 'admin-ajax.php' ),
'ajaxNonce' => wp_create_nonce( 'ninja_forms_display_nonce' ),
'requireBaseUrl' => Ninja_Forms::$url . 'assets/js/',
'use_merge_tags' => array(),
'opinionated_styles' => Ninja_Forms()->get_setting( 'opinionated_styles' )
......
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