diff --git a/bootstrap.php b/bootstrap.php index 9f0e318..0cada74 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -50,10 +50,10 @@ function () { // Set marketplace brand from mm_brand $marketplace_brand = strtolower( get_option( 'mm_brand', 'mojo' ) ); -if ( str_contains( $marketplace_brand, 'bluehost' ) ) { +if ( false !== strpos( $marketplace_brand, 'bluehost' ) ) { // simplify bluehost brand for marketplace $marketplace_brand = 'bluehost'; -} elseif ( str_contains( $marketplace_brand, 'hostgator' ) ) { +} elseif ( false !== strpos( $marketplace_brand, 'hostgator' ) ) { // simplify hostgator brand for marketplace $marketplace_brand = 'hostgator'; } else { diff --git a/mojo-marketplace.php b/mojo-marketplace.php index 4bae2e3..6c5e21e 100644 --- a/mojo-marketplace.php +++ b/mojo-marketplace.php @@ -2,7 +2,7 @@ /** * Plugin Name: MOJO Marketplace * Description: This plugin adds shortcodes, widgets, and themes to your WordPress site. - * Version: 1.7.0 + * Version: 1.7.1 * Author: Bluehost * Author URI: https://bluehost.com * Requires at least: 4.7 @@ -20,7 +20,7 @@ die; } -define( 'MM_VERSION', '1.7.0' ); +define( 'MM_VERSION', '1.7.1' ); define( 'MM_FILE', __FILE__ ); define( 'MM_BASE_DIR', plugin_dir_path( __FILE__ ) ); define( 'MM_BASE_URL', plugin_dir_url( __FILE__ ) );