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

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Sep 4, 2024
2 parents 1e32735 + 5b2ce9d commit 417ae63
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 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
4 changes: 2 additions & 2 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.41",
"newfold-labs/wp-module-facebook": "^1.0.9",
Expand Down
18 changes: 9 additions & 9 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 417ae63

Please sign in to comment.