Skip to content

Commit

Permalink
Merge pull request #911 from bluehost/release/3.8.3
Browse files Browse the repository at this point in the history
Release/3.8.3
  • Loading branch information
circlecube authored Jan 26, 2024
2 parents 553c477 + 8ca90ca commit f51c559
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/satis-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT

- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.SATIS_WEBHOOK_TOKEN }}
repository: bluehost/satis
Expand Down
4 changes: 2 additions & 2 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Plugin URI: https://bluehost.com
* Update URI: https://github.com/bluehost/bluehost-wordpress-plugin
* Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features.
* Version: 3.8.2
* Version: 3.8.3
* Requires at least: 6.0
* Requires PHP: 7.1
* Tested up to: 6.4.2
Expand All @@ -32,7 +32,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '3.8.2' );
define( 'BLUEHOST_PLUGIN_VERSION', '3.8.3' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
},
"require": {
"newfold-labs/wp-module-business-reviews": "^1.1.1",
"newfold-labs/wp-module-coming-soon": "^1.1",
"newfold-labs/wp-module-coming-soon": "^1.1.18",
"newfold-labs/wp-module-ctb": "^1.1.2",
"newfold-labs/wp-module-customer-bluehost": "^1.6.0",
"newfold-labs/wp-module-data": "^2.4.16",
"newfold-labs/wp-module-data": "^2.4.18",
"newfold-labs/wp-module-deactivation": "^1.0.4",
"newfold-labs/wp-module-ecommerce": "1.3.18",
"newfold-labs/wp-module-global-ctb": "^1.0.9",
Expand All @@ -79,7 +79,7 @@
"newfold-labs/wp-module-marketplace": "^2.2.0",
"newfold-labs/wp-module-notifications": "^1.2.2",
"newfold-labs/wp-module-onboarding": "^1.12.0",
"newfold-labs/wp-module-patterns": "^0.1.12",
"newfold-labs/wp-module-patterns": "^0.1.13",
"newfold-labs/wp-module-performance": "^1.3.0",
"newfold-labs/wp-module-runtime": "^1.0.7",
"newfold-labs/wp-module-secure-passwords": "^1.1",
Expand Down
29 changes: 15 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"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.8.2",
"version": "3.8.3",
"private": true,
"repository": {
"type": "git",
Expand Down
25 changes: 17 additions & 8 deletions src/app/pages/settings/comingSoon.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ const ComingSoon = () => {
const getComingSoonSectionTitle = () => {
const getStatus = () => {
return comingSoon ? (
<span className="nfd-text-[#e10001]">
{ __( 'Coming Soon', 'wp-plugin-bluehost' ) }
<span className="nfd-text-[#e10001] coming-soon-status">
{ __( 'Not Live', 'wp-plugin-bluehost' ) }
</span>
) : (
<span className="nfd-text-[#008112]">
<span className="nfd-text-[#008112] coming-soon-status">
{ __( 'Live', 'wp-plugin-bluehost' ) }
</span>
);
Expand All @@ -83,18 +83,27 @@ const ComingSoon = () => {
);
};

const getComingSoonSectionDescription = () => {
return comingSoon
? __(
'Turn off your "Coming Soon" page when you are ready to launch your website.',
'wp-plugin-bluehost'
)
: __(
'Turn on your "Coming Soon" page when you need to make major changes to your website.',
'wp-plugin-bluehost'
);
};

return (
<Container.SettingsField
title={ getComingSoonSectionTitle() }
description={ __(
'Still building your site? Need to make a big change?',
'wp-plugin-bluehost'
) }
description={ getComingSoonSectionDescription() }
>
<div className="nfd-flex nfd-flex-col nfd-gap-6">
<ToggleField
id="coming-soon-toggle"
label="Coming soon page"
label="Coming Soon page"
description={ __(
'Your Bluehost Coming Soon page lets you hide your site from visitors while you make the magic happen.',
'wp-plugin-bluehost'
Expand Down
4 changes: 4 additions & 0 deletions src/app/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,7 @@ body.toplevel_page_bluehost {
background-color: #e9f1fd;
}
}

.coming-soon-status {
text-transform: uppercase;
}

0 comments on commit f51c559

Please sign in to comment.