Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from bluehost/release/1.7.1
Browse files Browse the repository at this point in the history
Release/1.7.1
  • Loading branch information
circlecube authored Oct 13, 2022
2 parents dfbcecd + 90d88db commit d524c7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions mojo-marketplace.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__ ) );
Expand Down

0 comments on commit d524c7f

Please sign in to comment.