diff --git a/bootstrap.php b/bootstrap.php index 17ab7ce..720da29 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -101,7 +101,7 @@ function () { ) ); $pluginUpdater->setDataOverrides( - [ + array( 'banners' => array( '2x' => 'https://cdn.hiive.space/marketplace/vendors-assets/web-banner.svg', '1x' => 'https://cdn.hiive.space/marketplace/vendors-assets/web-banner.svg', @@ -110,7 +110,7 @@ function () { '2x' => 'https://cdn.hiive.space/marketplace/vendors-assets/web-icon.svg', '1x' => 'https://cdn.hiive.space/marketplace/vendors-assets/web-icon.svg', ), - ] + ) ); // Handle any upgrade routines (only in the admin) diff --git a/wp-plugin-web.php b/wp-plugin-web.php index 84987ca..80c6d26 100644 --- a/wp-plugin-web.php +++ b/wp-plugin-web.php @@ -70,7 +70,7 @@ 'The HostGator Plugin' => 'wp-plugin-hostgator/wp-plugin-hostgator.php', 'The Crazy Domains Plugin' => 'wp-plugin-crazy-domains/wp-plugin-crazy-domains.php', ); -$pass_nfd_check = $nfd_plugins_check->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', '>=' ) ) {