Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Merge pull request #511 from bluehost/release/3.0.4
Browse files Browse the repository at this point in the history
Release/3.0.4
  • Loading branch information
circlecube authored Jun 22, 2023
2 parents 7b45edd + 7de9c06 commit dba16e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__ ) );
Expand Down
7 changes: 5 additions & 2 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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' ) . ' ',
'<a href="' . esc_url( 'https://www.bluehost.com/websites/wordpress' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'<a href="' . esc_url( $wordpress_hosting_page ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>',
'<a href="' . esc_url( wp_login_url() ) . '">',
'</a>',
'<a href="' . esc_url( 'https://www.bluehost.com/my-account/account-center/login' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'<a href="' . esc_url( $my_panel ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>'
),
'template_page_title' => sprintf(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit dba16e4

Please sign in to comment.