@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | // Process our form submissions (non ajax forms) |
19 | 19 | if ( ! isset( $_POST['yikes_easy_mc_new_subscriber'] ) || ! wp_verify_nonce( $_POST['yikes_easy_mc_new_subscriber'], 'yikes_easy_mc_form_submit' ) ) { |
20 | 20 | |
21 | - $process_submission_response = '<p><small class="form_submission_error">' . __( "Error : Sorry, the nonce security check didn't pass. Please reload the page and try again. You may want to try clearing your browser cache as a last attempt." , 'yikes-inc-easy-mailchimp-extender' ) . '</small></p>'; |
|
21 | + $process_submission_response = '<p><small class="form_submission_error">' . __( "Error : Sorry, the nonce security check didn't pass. Please reload the page and try again. You may want to try clearing your browser cache as a last attempt." , 'yikes-inc-easy-mailchimp-extender' ) . '</small></p>'; |
|
22 | 22 | return; |
23 | 23 | |
24 | 24 | } else { |
@@ -124,11 +124,11 @@ discard block |
||
124 | 124 | $merge_variables = apply_filters( 'yikes-mailchimp-before-submission-' . $form_id, $merge_variables ); |
125 | 125 | |
126 | 126 | /** |
127 | - * Action hooks fired before API request |
|
128 | - * @since 6.0.5.5 |
|
129 | - * @param $merge_variables array Array of merge variable to use |
|
130 | - * @param $form_id integer The form ID to target (eg: 1, 2 etc.) |
|
131 | - */ |
|
127 | + * Action hooks fired before API request |
|
128 | + * @since 6.0.5.5 |
|
129 | + * @param $merge_variables array Array of merge variable to use |
|
130 | + * @param $form_id integer The form ID to target (eg: 1, 2 etc.) |
|
131 | + */ |
|
132 | 132 | do_action( 'yikes-mailchimp-before-submission', $merge_variables ); |
133 | 133 | do_action( 'yikes-mailchimp-before-submission-' . $form_id, $merge_variables ); |
134 | 134 |