diff --git a/src/class-convertkit-api.php b/src/class-convertkit-api.php
index e704557..75c1a32 100644
--- a/src/class-convertkit-api.php
+++ b/src/class-convertkit-api.php
@@ -1497,8 +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 .= "';
// phpcs:enable