| @@ -199,17 +199,8 @@ | ||
| 199 | 199 | * @since 1.9.8.4 |
| 200 | 200 | */ |
| 201 | 201 | private function process_form() { |
| 202 | 202 | |
| 203 | - // Run security checks. | |
| 204 | - if ( ! isset( $_POST['_wpnonce'] ) ) { | |
| 205 | - return; | |
| 206 | - } | |
| 207 | - if ( ! wp_verify_nonce( sanitize_key( $_POST['_wpnonce'] ), $this->page_name ) ) { | |
| 208 | - $this->error = __( 'Invalid nonce specified.', 'convertkit' ); | |
| 209 | - return; | |
| 210 | - } | |
| 211 | - | |
| 212 | 203 | /** |
| 213 | 204 | * Process submitted form data for the given setup wizard name and current step. |
| 214 | 205 | * |
| 215 | 206 | * @since 1.9.8.4 |
| @@ -294,9 +285,9 @@ | ||
| 294 | 285 | convertkit_select2_enqueue_scripts(); |
| 295 | 286 | |
| 296 | 287 | // Enqueue JS. |
| 297 | 288 | wp_enqueue_script( 'convertkit-admin-preview-output', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/preview-output.js', array( 'jquery' ), CONVERTKIT_PLUGIN_VERSION, true ); |
| 298 | - wp_enqueue_script( 'convertkit-admin-setup-wizard', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/setup-wizard.js', array( 'jquery' ), CONVERTKIT_PLUGIN_VERSION, true ); | |
| 289 | + wp_enqueue_script( 'convertkit-admin-setup-wizard', CONVERTKIT_PLUGIN_URL . 'resources/backend/js/setup-wizard.js', array(), CONVERTKIT_PLUGIN_VERSION, true ); | |
| 299 | 290 | |
| 300 | 291 | } |
| 301 | 292 | |
| 302 | 293 | /** |