diff --git a/bluehost-wordpress-plugin.php b/bluehost-wordpress-plugin.php index 6395d96e3..dfb4f016e 100644 --- a/bluehost-wordpress-plugin.php +++ b/bluehost-wordpress-plugin.php @@ -68,15 +68,15 @@ require_once BLUEHOST_PLUGIN_DIR . '/inc/plugin-nfd-compat-check.php'; $nfd_plugins_check = new NFD_Plugin_Compat_Check( BLUEHOST_PLUGIN_FILE ); // Defer to Incompatible plugin, self-deactivate -$nfd_plugins_check->incompatible_plugins = []; +$nfd_plugins_check->incompatible_plugins = array(); // Deactivate legacy plugin -$nfd_plugins_check->legacy_plugins = [ +$nfd_plugins_check->legacy_plugins = array( 'The MOJO Marketplace' => 'mojo-marketplace-wp-plugin/mojo-marketplace.php', 'The MOJO Plugin' => 'wp-plugin-mojo/wp-plugin-mojo.php', 'The HostGator Plugin' => 'wp-plugin-hostgator/wp-plugin-hostgator.php', 'The Web.com Plugin' => 'wp-plugin-web/wp-plugin-web.php', 'The Crazy Domains Plugin' => 'wp-plugin-web/wp-plugin-crazy-domains.php', -]; +); // Check plugin requirements $pass_nfd_check = $nfd_plugins_check->check_plugin_requirements(); diff --git a/inc/alt-experience/init.php b/inc/alt-experience/init.php index 80bae6d9f..25337320a 100644 --- a/inc/alt-experience/init.php +++ b/inc/alt-experience/init.php @@ -18,7 +18,7 @@ function () { wp_enqueue_style( 'bluehost-style', BLUEHOST_BUILD_URL . '/index.css', - [ 'wp-components' ], + array( 'wp-components' ), $version );