diff --git a/src/class-convertkit-api.php b/src/class-convertkit-api.php index 2fb971a..ae2082b 100644 --- a/src/class-convertkit-api.php +++ b/src/class-convertkit-api.php @@ -1497,9 +1497,7 @@ public function get_landing_page_html( $url ) { // Inject JS for subscriber forms to work. // wp_enqueue_script() isn't called when we load a Landing Page, so we can't use it. // phpcs:disable WordPress.WP.EnqueuedResources - $scripts = new WP_Scripts(); - $script = ""; - $script .= ""; + $script = ""; $script .= "'; // phpcs:enable