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 #286 from bluehost/release/2.12.16
Browse files Browse the repository at this point in the history
Release/2.12.16
  • Loading branch information
bhwpteam authored Jan 11, 2023
2 parents eef1875 + 38e2309 commit c106d72
Show file tree
Hide file tree
Showing 15 changed files with 1,069 additions and 584 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- '8.0'
- '8.1'
wpVersion:
- '5.8'
- '5.9'
- '6.0'
- '6.1'
Expand Down
6 changes: 5 additions & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
"phpVersion": "8.1",
"plugins": [
".",
"https://downloads.wordpress.org/plugin/woocommerce.7.2.2.zip",
"https://downloads.wordpress.org/plugin/wpforms-lite.latest-stable.zip"
],
"themes": [
"https://downloads.wordpress.org/theme/yith-wonder.1.1.2.zip"
],
"port": 8882,
"testsPort": 8883
}
}
15 changes: 8 additions & 7 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
/**
* Plugin Name: Bluehost
* Description: This plugin integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.
* Version: 2.12.15
* Version: 2.12.16
* Tested up to: 6.1.1
* Requires at least: 5.8
* Requires at least: 5.9
* Requires PHP: 7.0
* Author: Bluehost
* Author URI: https://www.bluehost.com/
Expand All @@ -18,6 +18,7 @@

use NewfoldLabs\WP\ModuleLoader\Container;
use NewfoldLabs\WP\ModuleLoader\Plugin;

use function NewfoldLabs\WP\ModuleLoader\container as setContainer;

// Do not access file directly!
Expand All @@ -32,7 +33,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '2.12.15' );
define( 'BLUEHOST_PLUGIN_VERSION', '2.12.16' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down Expand Up @@ -70,7 +71,7 @@
$bh_module_container->set(
'plugin',
$bh_module_container->service(
function() {
function () {
return new Plugin(
array(
'id' => 'bluehost',
Expand All @@ -93,7 +94,7 @@ function() {
'template_h2' => __( 'Coming Soon!', 'bluehost-wordpress-plugin' ),
'template_login_btn' => true,
'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 */
/* 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.', 'bluehost-wordpress-plugin' ) . ' ',
'<a href="' . esc_url( $wordpress_hosting_page ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>',
Expand All @@ -103,13 +104,13 @@ function() {
'</a>'
),
'template_page_title' => sprintf(
/* translators: %s: Blog name */
/* translators: %s: Blog name */
__( '%s &mdash; Coming Soon', 'bluehost-wordpress-plugin' ),
esc_html( get_option( 'blogname' ) )
),
'admin_bar_text' => '<div style="background-color: #ffcf00; color: #191936; padding: 0 1rem;">' . __( 'Coming Soon Active', 'bluehost-wordpress-plugin' ) . '</div>',
'admin_notice_text' => sprintf(
/* translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */
/* translators: %1$s is replaced with the opening link tag and %2$s is replaced with the closing link tag, %3$s is the opening link tag to preview the page, %4$s is the closing link tag. */
__( 'Your site is currently displaying a %1$scoming soon page%2$s. Once you are ready, %3$slaunch your site%4$s.', 'bluehost-wordpress-plugin' ),
'<a href="' . get_home_url() . '?preview=coming_soon" title="' . __( 'Preview the coming soon landing page', 'bluehost-wordpress-plugin' ) . '">',
'</a>',
Expand Down
29 changes: 9 additions & 20 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
"only": [
"newfold-labs/*"
]
},
"bluehost": {
"type": "composer",
"url": "https://bluehost.github.io/satis/",
"only": [
"bluehost/*",
"mojoness/*",
"endurance/*"
]
}
},
"autoload": {
Expand All @@ -44,16 +35,16 @@
},
"require": {
"ext-iconv": "*",
"bluehost/bluehost-wp-customer-data": "^1.4.6",
"doctrine/inflector": "1.2.0 as 1.3.1",
"newfold-labs/wp-module-business-reviews": "^1.1",
"newfold-labs/wp-module-coming-soon": "^1.0",
"newfold-labs/wp-module-data": "^2.2.2",
"newfold-labs/wp-module-ecommerce": "0.6.0",
"newfold-labs/wp-module-customer-bluehost": "^1.5.2",
"newfold-labs/wp-module-data": "^2.2",
"newfold-labs/wp-module-ecommerce": "0.6.2",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^1.4.6",
"newfold-labs/wp-module-notifications": "^1.1",
"newfold-labs/wp-module-onboarding": "0.2.7",
"newfold-labs/wp-module-marketplace": "^1.4.7",
"newfold-labs/wp-module-notifications": "^1.1.2",
"newfold-labs/wp-module-onboarding": "1.0.3",
"newfold-labs/wp-module-secure-passwords": "^1.1",
"newfold-labs/wp-module-sso": "^1.0.3",
"wp-forge/collection": "^1.0.2",
Expand All @@ -63,9 +54,9 @@
"wpscholar/url": "^1.2.2"
},
"require-dev": {
"bluehost/wp-php-standards": "@stable",
"wp-cli/wp-cli-bundle": "@stable",
"wp-cli/i18n-command": "@stable"
"newfold-labs/wp-php-standards": "^1.2",
"wp-cli/i18n-command": "@stable",
"wp-cli/wp-cli-bundle": "@stable"
},
"config": {
"optimize-autoloader": true,
Expand All @@ -75,8 +66,6 @@
},
"platform-check": false,
"preferred-install": {
"bluehost/*": "source",
"endurance/*": "source",
"newfold-labs/*": "source",
"*": "dist"
},
Expand Down
Loading

0 comments on commit c106d72

Please sign in to comment.