Skip to content

Commit

Permalink
fix code standards
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Oct 2, 2024
1 parent d22dfab commit 5ebfbad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion inc/alt-experience/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function () {
wp_enqueue_style(
'bluehost-style',
BLUEHOST_BUILD_URL . '/index.css',
[ 'wp-components' ],
array( 'wp-components' ),
$version
);

Expand Down

0 comments on commit 5ebfbad

Please sign in to comment.