| @@ -16,8 +16,9 @@ | ||
| 16 | 16 | add_filter( 'nx_before_enqueue_scripts', array( $this, 'nx_before_enqueue_scripts' ) ); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | public function nx_before_enqueue_scripts($result) { |
| 20 | + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reviewed for the NotificationX codebase: acceptable in this context. | |
| 20 | 21 | if(!empty($_GET['vp_preview'])){ |
| 21 | 22 | return ['total' => 0]; |
| 22 | 23 | } |
| 23 | 24 | |