Skip to content

Commit

Permalink
Merge pull request #757 from bluehost/release/3.5.0
Browse files Browse the repository at this point in the history
Release/3.5.0
  • Loading branch information
circlecube authored Oct 25, 2023
2 parents 7dcc2ed + d3cfaea commit fcc9351
Show file tree
Hide file tree
Showing 11 changed files with 658 additions and 639 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "DIST=${PWD}/dist" >> $GITHUB_OUTPUT
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-artifact-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
- name: Use Node.js 16.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
Expand Down Expand Up @@ -90,6 +90,15 @@ jobs:
- name: NPM Install
run: npm install --legacy-peer-deps

- name: Validate WP Versions
if: ${{ (github.repository == 'bluehost/bluehost-wordpress-plugin') && (github.event.release.prerelease == false) }}
run: |
pluginHeaderTestedVersion=`grep "Tested up to:" bluehost-wordpress-plugin.php | grep -Eo "[0-9\.]*"`
wpEnvVersion=`grep "WordPress/WordPress#tags/" .wp-env.json | grep -Eo "[0-9\.]*"`
echo "Plugin header tested version: $pluginHeaderTestedVersion"
echo "wp-env version: $wpEnvVersion"
[[ "$wpEnvVersion" == "$pluginHeaderTestedVersion" ]] || exit 1
- name: Build JavaScript
run: npm run build

Expand Down
5 changes: 3 additions & 2 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
* @wordpress-plugin
* Plugin Name: The Bluehost Plugin
* 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.4.2
* Version: 3.5.0
* Requires at least: 6.0
* Requires PHP: 7.1
* Tested up to: 6.3.2
Expand All @@ -31,7 +32,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '3.4.2' );
define( 'BLUEHOST_PLUGIN_VERSION', '3.5.0' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function () {
__( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'wp-plugin-bluehost' ),
'<a href="' . get_home_url() . '?preview=coming_soon" title="' . __( 'Preview the coming soon landing page', 'wp-plugin-bluehost' ) . '">',
'</a>',
'<a href="' . esc_url( admin_url( 'admin.php?page=bluehost#/home' ) ) . '">',
'<a href="' . esc_url( admin_url( 'admin.php?page=bluehost&nfd-target=coming-soon-section#/settings' ) ) . '">',
'</a>'
),
'template_styles' => esc_url( BLUEHOST_PLUGIN_URL . 'assets/styles/coming-soon.css' ),
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@
},
"require": {
"newfold-labs/wp-module-business-reviews": "^1.1.1",
"newfold-labs/wp-module-coming-soon": "^1.1.10",
"newfold-labs/wp-module-coming-soon": "^1.1.11",
"newfold-labs/wp-module-ctb": "^1.1.2",
"newfold-labs/wp-module-customer-bluehost": "^1.6.0",
"newfold-labs/wp-module-data": "^2.4.8",
"newfold-labs/wp-module-data": "^2.4.9",
"newfold-labs/wp-module-deactivation": "^1.0.2",
"newfold-labs/wp-module-ecommerce": "^1.3.4",
"newfold-labs/wp-module-ecommerce": "^1.3.5",
"newfold-labs/wp-module-global-ctb": "^1.0.7",
"newfold-labs/wp-module-help-center": "1.0.17",
"newfold-labs/wp-module-help-center": "1.0.21",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^2.0.2",
"newfold-labs/wp-module-notifications": "^1.1.6",
"newfold-labs/wp-module-onboarding": "^1.11.3",
"newfold-labs/wp-module-patterns": "^0.1.6",
"newfold-labs/wp-module-onboarding": "^1.11.5",
"newfold-labs/wp-module-patterns": "^0.1.8",
"newfold-labs/wp-module-performance": "^1.2.1",
"newfold-labs/wp-module-runtime": "^1.0.7",
"newfold-labs/wp-module-secure-passwords": "^1.1",
Expand Down
Loading

0 comments on commit fcc9351

Please sign in to comment.