Skip to content

Commit

Permalink
Merge branch 'develop' into update/ecommerce-version-1.3.42
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Sep 4, 2024
2 parents 5da5f14 + 417ae63 commit c6e712c
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 47 deletions.
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.14.7
* Version: 3.14.8
* Requires at least: 6.4
* Requires PHP: 7.3
* Tested up to: 6.6.1
Expand All @@ -32,7 +32,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '3.14.7' );
define( 'BLUEHOST_PLUGIN_VERSION', '3.14.8' );
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 @@ -74,9 +74,9 @@
"require": {
"newfold-labs/wp-module-activation": "^1.0.3",
"newfold-labs/wp-module-atomic": "^1.3.0",
"newfold-labs/wp-module-coming-soon": "^1.2.5",
"newfold-labs/wp-module-coming-soon": "^1.2.6",
"newfold-labs/wp-module-context": "^1.0.1",
"newfold-labs/wp-module-data": "^2.6.2",
"newfold-labs/wp-module-data": "^2.6.3",
"newfold-labs/wp-module-deactivation": "^1.2.3",
"newfold-labs/wp-module-ecommerce": "^1.3.42",
"newfold-labs/wp-module-facebook": "^1.0.9",
Expand All @@ -88,7 +88,7 @@
"newfold-labs/wp-module-migration": "^1.0.11",
"newfold-labs/wp-module-notifications": "^1.5.0",
"newfold-labs/wp-module-onboarding": "^2.3.11",
"newfold-labs/wp-module-patterns": "^2.4.0",
"newfold-labs/wp-module-patterns": "^2.4.1",
"newfold-labs/wp-module-performance": "2.0.1 as 1.9.9",
"newfold-labs/wp-module-runtime": "^1.0.11",
"newfold-labs/wp-module-secure-passwords": "^1.1.1",
Expand Down
65 changes: 32 additions & 33 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,6 +1,6 @@
{
"name": "bluehost-wordpress-plugin",
"version": "3.14.7",
"version": "3.14.8",
"description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.",
"author": {
"name": "Bluehost",
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/pages-and-posts/blogPosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const BlogPosts = () => {
<a href="edit.php">
{ __( 'View all', 'wp-plugin-bluehost' ) }
</a>
<a href="post-new.php">
<a href="post-new.php?wb-library=patterns&wb-category=text">
<Button>{ __( 'Add New', 'wp-plugin-bluehost' ) }</Button>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/pages-and-posts/sitePages.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const SitePages = () => {
<a href="edit.php?post_type=page">
{ __( 'View all', 'wp-plugin-bluehost' ) }
</a>
<a href="post-new.php?post_type=page">
<a href="post-new.php?post_type=page&wb-library=patterns&wb-category=features">
<Button onClick>
{ __( 'Add New', 'wp-plugin-bluehost' ) }
</Button>
Expand Down
8 changes: 4 additions & 4 deletions tests/cypress/integration/pages-and-posts.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ describe('Pages & Posts', function () {
cy.go('back');

cy.get('.wppbh-app-site-page')
.find('a[href="post-new.php?post_type=page"] Button')
.find('a[href="post-new.php?post_type=page&wb-library=patterns&wb-category=features"] Button')
.click();
cy.url().should('include', 'post-new.php?post_type=page');
cy.url().should('include', 'post-new.php?post_type=page&wb-library=patterns&wb-category=features');
cy.go('back');
});

Expand All @@ -48,9 +48,9 @@ describe('Pages & Posts', function () {
cy.go('back');

cy.get('.wppbh-app-blog-posts')
.get('a[href="post-new.php"] Button')
.get('a[href="post-new.php?wb-library=patterns&wb-category=text"] Button')
.click();
cy.url().should('include', 'post-new.php');
cy.url().should('include', 'post-new.php?wb-library=patterns&wb-category=text');
cy.go('back');
});

Expand Down

0 comments on commit c6e712c

Please sign in to comment.