From 175f91889e3faa223ca2070279e031c089feff90 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Thu, 5 Oct 2023 11:03:20 -0400 Subject: [PATCH] Add `nfd-runtime` dependency --- inc/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/Admin.php b/inc/Admin.php index d54dbd11e..0fb3de94c 100644 --- a/inc/Admin.php +++ b/inc/Admin.php @@ -151,7 +151,7 @@ public static function assets( $hook ) { \wp_register_script( 'bluehost-script', BLUEHOST_BUILD_URL . '/index.js', - array_merge( $asset['dependencies'] ), + array_merge( $asset['dependencies'], [ 'nfd-runtime' ] ), $asset['version'], true );