Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jan 16, 2024
1 parent 87df117 commit 1421627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@
'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();

// Check PHP version before initializing to prevent errors if plugin is incompatible.
if ( $pass_nfd_check && version_compare( PHP_VERSION, '5.3', '>=' ) ) {
require dirname( __FILE__ ) . '/bootstrap.php';
require __DIR__ . '/bootstrap.php';
}

0 comments on commit 1421627

Please sign in to comment.