From 16fbaf474971643274273c1e2b2f8e50f778805f Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 22 Jun 2023 16:53:28 -0400 Subject: [PATCH 1/3] fix url for coming soon page login --- bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.php b/bootstrap.php index 3f0aef2c4..5ee136195 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -122,7 +122,7 @@ function () { '', '', '', - '', + '', '' ), 'template_page_title' => sprintf( From efe80634b02aa584d5d8ad5690efa47599cbbdfe Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 22 Jun 2023 17:03:51 -0400 Subject: [PATCH 2/3] version bump --- bluehost-wordpress-plugin.php | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bluehost-wordpress-plugin.php b/bluehost-wordpress-plugin.php index 52fe1854c..0ad54ab5e 100644 --- a/bluehost-wordpress-plugin.php +++ b/bluehost-wordpress-plugin.php @@ -11,7 +11,7 @@ * Plugin Name: The Bluehost Plugin * Plugin URI: https://bluehost.com * Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features. - * Version: 3.0.3 + * Version: 3.0.4 * Requires at least: 6.0 * Requires PHP: 7.1 * Tested up to: 6.2.2 @@ -31,7 +31,7 @@ } // Define constants -define( 'BLUEHOST_PLUGIN_VERSION', '3.0.3' ); +define( 'BLUEHOST_PLUGIN_VERSION', '3.0.4' ); define( 'BLUEHOST_PLUGIN_FILE', __FILE__ ); define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); diff --git a/package.json b/package.json index eb1a7559a..93943e239 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "bluehost-wordpress-plugin", "description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.", "license": "GPL-2.0-or-later", - "version": "3.0.3", + "version": "3.0.4", "private": true, "repository": { "type": "git", From 7de9c063fec93f0628ff59f5958a11292aa48014 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 22 Jun 2023 17:07:10 -0400 Subject: [PATCH 3/3] also update bluehost link and determine proper links per market --- bootstrap.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 5ee136195..330f484bc 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -108,6 +108,9 @@ function () { ) ); +// properly get branding links depending on market +$wordpress_hosting_page = ( get_option( 'mm_brand' ) === 'Bluehost_India' ) ? 'https://www.bluehost.in?utm_source=coming-soon-template&utm_medium=bluehost_plugin' : 'https://bluehost.com?utm_source=coming-soon-template&utm_medium=bluehost_plugin'; +$my_panel = ( get_option( 'mm_brand' ) === 'Bluehost_India' ) ? 'https://my.bluehost.in/web-hosting/cplogin' : 'https://my.bluehost.com/web-hosting/cplogin'; // Set coming soon values $bluehost_module_container->set( 'comingsoon', @@ -118,11 +121,11 @@ function () { 'template_footer_t' => sprintf( /* translators: %1$s is replaced with opening link tag taking you to bluehost.com/wordpress, %2$s is replaced with closing link tag, %3$s is replaced with opening link tag taking you to login page, %4$s is replaced with closing link tag, %5$s is replaced with opening link tag taking you to my.bluehost.com, %6$s is replaced with closing link tag */ esc_html__( 'A %1$sBluehost%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sBluehost%6$s.', 'wp-plugin-bluehost' ) . ' ', - '', + '', '', '', '', - '', + '', '' ), 'template_page_title' => sprintf(