Skip to content

Release 2.14.0 #1050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
255a175
Composer(deps): Bump newfold-labs/wp-module-performance
dependabot[bot] Mar 14, 2025
ea62e97
Merge pull request #1003 from newfold-labs/dependabot/composer/develo…
circlecube Mar 14, 2025
5695429
Merge branch 'main' into develop
circlecube Mar 19, 2025
19eeca7
Composer Dev(deps-dev): Bump newfold-labs/wp-php-standards
dependabot[bot] Mar 20, 2025
a22382b
NPM Dev(deps-dev): Bump cypress from 14.2.0 to 14.2.1
dependabot[bot] Mar 27, 2025
fc4c434
NPM(deps): Bump @wordpress/element from 6.20.0 to 6.21.0
dependabot[bot] Mar 28, 2025
f21ad7e
NPM(deps): Bump react-router-dom from 7.3.0 to 7.4.1
dependabot[bot] Mar 31, 2025
f1cd4f9
add plugin-id header on hiive requests
circlecube Apr 3, 2025
984e0e1
migrate deprecated cypress plugins into config
circlecube Apr 3, 2025
79c1f9c
Merge pull request #1008 from newfold-labs/dependabot/composer/develo…
circlecube Apr 4, 2025
1e7be9c
Merge pull request #1028 from newfold-labs/update/request-header
circlecube Apr 4, 2025
1f25173
Merge pull request #1018 from newfold-labs/dependabot/npm_and_yarn/de…
circlecube Apr 4, 2025
35efd1f
Merge pull request #1019 from newfold-labs/dependabot/npm_and_yarn/de…
circlecube Apr 4, 2025
42ad443
Merge pull request #1023 from newfold-labs/dependabot/npm_and_yarn/de…
circlecube Apr 4, 2025
58d7845
NPM(deps): Bump @wordpress/i18n from 5.20.0 to 5.22.0
dependabot[bot] Apr 14, 2025
a1227fc
Prevent _load_textdomain_just_in_time notice
crodriguezbrito Apr 29, 2025
9ae16cf
update coming soon to 1.5.0
crodriguezbrito Apr 29, 2025
8248b91
WordPress i18n triggered by commit a22d78953249543bffff2c0687e4e25a61…
actions-user Apr 29, 2025
b569de6
Merge branch 'develop' into feature/PRESS10-184
circlecube May 2, 2025
5786ecc
Merge branch 'main' into develop
circlecube May 2, 2025
b8626ed
Merge branch 'develop' into feature/PRESS10-184
circlecube May 2, 2025
18fa896
validate composer file
circlecube May 2, 2025
3c851ad
Merge pull request #1037 from newfold-labs/dependabot/npm_and_yarn/de…
circlecube May 2, 2025
5cb60c6
few file changes to hopefully fix the ever failing first test in help
circlecube May 2, 2025
b5d5830
more test updates
circlecube May 2, 2025
9859907
dependency updates - updates wp-scripts to 30 which drops support for…
circlecube May 2, 2025
1385430
dynamically load fallback on unsupported WP versions
circlecube May 2, 2025
1cc76f7
Merge branch 'develop' into fix/tests
circlecube May 2, 2025
0f5b10d
skip outdated ecom test without updating ecom module
circlecube May 2, 2025
28c97eb
Merge pull request #1049 from newfold-labs/fix/tests
circlecube May 2, 2025
5e6b62f
Merge branch 'develop' into feature/PRESS10-184
circlecube May 2, 2025
feaa47b
fix debug log in workflows
circlecube May 2, 2025
6a0970b
Merge pull request #1048 from newfold-labs/feature/PRESS10-184
circlecube May 2, 2025
8357d75
Version updated 2.13.3 => 2.14.0
circlecube May 2, 2025
171fa24
update ctb and data module
circlecube May 2, 2025
773ece1
WordPress i18n triggered by commit 1db01dbfbda504ad01556e17316b2737fe…
actions-user May 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
- '8.2'
- '8.3'
wpVersion:
- '6.5'
- '6.6'
- '6.7'
- '6.8'

steps:

Expand Down Expand Up @@ -134,4 +134,4 @@ jobs:
- name: Output debug.log file contents
if: ${{ always() }}
continue-on-error: true
run: npx wp-env run wordpress "cat /var/www/html/wp-content/debug.log"
run: npx wp-env run wordpress cat /var/www/html/wp-content/debug.log
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ jobs:
- name: Output debug.log file contents
if: always()
continue-on-error: true
run: npx wp-env run wordpress "cat /var/www/html/wp-content/debug.log"
run: npx wp-env run wordpress cat /var/www/html/wp-content/debug.log
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ jobs:
- name: Output debug.log file contents
if: ${{ always() }}
continue-on-error: true
run: npx wp-env run wordpress "cat /var/www/html/wp-content/debug.log"
run: npx wp-env run wordpress cat /var/www/html/wp-content/debug.log
3 changes: 2 additions & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"core": "WordPress/WordPress#tags/6.7.2",
"core": "WordPress/WordPress#tags/6.8.1",
"config": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true,
"WP_DEBUG_DISPLAY": false,
"WP_ENVIRONMENT_TYPE": "local",
"FS_METHOD": "direct"
},
"phpVersion": "8.1",
Expand Down
103 changes: 57 additions & 46 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,54 +62,65 @@ function () {
array( 'browser', 'skip404' )
);

$website_guide_link = 'https://www.hostgator.com/blog/build-wordpress-website-guide/';
$migrate_link = 'https://www.hostgator.com/help/article/hostgator-website-migration';
$hosting_link = 'https://www.hostgator.com/blog/reasons-why-wordpress-website/';

// Set coming soon values
$nfd_module_container->set(
'comingsoon',
array(
'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ),
'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ),
'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ),
'template_coming_soon_links' =>
'<a href="' . esc_url( $website_guide_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) .
'</a><br/>' .
'<a href="' . esc_url( $migrate_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'How to Migrate a Website to Hostgator?', 'wp-plugin-hostgator' ) .
'</a><br/>' .
'<a href="' . esc_url( $hosting_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) .
'</a><br/>',
'template_footer_t' => sprintf(
/* translators: %1$s is replaced with opening link tag taking you to hostgator.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 portal.hostgator.com, %6$s is replaced with closing link tag. */
esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . '&nbsp;',
'<a href="' . esc_url( 'https://www.hostgator.com/managed-wordpress-hosting' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>',
'<a href="' . esc_url( wp_login_url() ) . '">',
'</a>',
'<a href="' . esc_url( 'https://portal.hostgator.com/' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>'
),
'template_page_title' => sprintf(
/* translators: %s is Blog name */
__( '%s &mdash; Coming Soon', 'wp-plugin-hostgator' ),
esc_html( get_option( 'blogname' ) )
),
'admin_bar_text' => '<div style="background-color: #ffcf00; color: #191936; padding: 0 1rem;">' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '</div>',
'admin_notice_text' => sprintf(
/* translators: %1$s is replaced with the opening link tag, %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.', 'wp-plugin-hostgator' ),
'<a href="' . get_home_url() . '?preview=coming_soon" title="' . __( 'Preview the coming soon landing page', 'wp-plugin-hostgator' ) . '">',
'</a>',
'<a href="' . esc_url( admin_url( 'admin.php?page=hostgator#/home' ) ) . '">',
'</a>'
),
'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ),
)
add_filter(
'newfold/coming-soon/filter/args',
function ( $args, $default_args ) {

$website_guide_link = 'https://www.hostgator.com/blog/build-wordpress-website-guide/';
$migrate_link = 'https://www.hostgator.com/help/article/hostgator-website-migration';
$hosting_link = 'https://www.hostgator.com/blog/reasons-why-wordpress-website/';

$args = wp_parse_args(
array(
'admin_app_url' => admin_url( 'admin.php?page=hostgator#/home' ),
'template_h1' => __( 'A New WordPress Site', 'wp-plugin-hostgator' ),
'template_h2' => __( 'Coming Soon!', 'wp-plugin-hostgator' ),
'template_coming_soon_links' =>
'<a href="' . esc_url( $website_guide_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'How to build your WordPress Website', 'wp-plugin-hostgator' ) .
'</a><br/>' .
'<a href="' . esc_url( $migrate_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'How to Migrate a Website to Hostgator?', 'wp-plugin-hostgator' ) .
'</a><br/>' .
'<a href="' . esc_url( $hosting_link ) . '" target="_blank" rel="noopener noreferrer nofollow">' .
__( 'Why choose HostGator for your WordPress site?', 'wp-plugin-hostgator' ) .
'</a><br/>',
'template_footer_t' => sprintf(
/* translators: %1$s is replaced with opening link tag taking you to hostgator.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 portal.hostgator.com, %6$s is replaced with closing link tag. */
esc_html__( 'A %1$sHostGator%2$s powered website. Is this your website? Log in to %3$sWordPress%4$s or %5$sHostgator%6$s.', 'wp-plugin-hostgator' ) . '&nbsp;',
'<a href="' . esc_url( 'https://www.hostgator.com/managed-wordpress-hosting' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>',
'<a href="' . esc_url( wp_login_url() ) . '">',
'</a>',
'<a href="' . esc_url( 'https://portal.hostgator.com/' ) . '" target="_blank" rel="noopener noreferrer nofollow">',
'</a>'
),
'template_page_title' => sprintf(
/* translators: %s is Blog name */
__( '%s &mdash; Coming Soon', 'wp-plugin-hostgator' ),
esc_html( get_option( 'blogname' ) )
),
'admin_bar_text' => '<div style="background-color: #ffcf00; color: #191936; padding: 0 1rem;">' . __( 'Coming Soon Active', 'wp-plugin-hostgator' ) . '</div>',
'admin_notice_text' => sprintf(
/* translators: %1$s is replaced with the opening link tag, %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.', 'wp-plugin-hostgator' ),
'<a href="' . get_home_url() . '?preview=coming_soon" title="' . __( 'Preview the coming soon landing page', 'wp-plugin-hostgator' ) . '">',
'</a>',
'<a href="' . esc_url( admin_url( 'admin.php?page=hostgator#/home' ) ) . '">',
'</a>'
),
'template_styles' => esc_url( HOSTGATOR_PLUGIN_URL . 'assets/styles/coming-soon.css' ),
),
$default_args
);

return $args;
},
10,
2
);

setContainer( $nfd_module_container );

// Set up the updater endpoint and map values
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2.4",
"newfold-labs/wp-php-standards": "^1.2.5",
"wp-cli/i18n-command": "^2.6.3",
"wp-phpunit/wp-phpunit": "^6.7.2"
},
Expand Down Expand Up @@ -75,14 +75,14 @@
"require": {
"newfold-labs/wp-module-activation": "^1.0.7",
"newfold-labs/wp-module-atomic": "^1.3",
"newfold-labs/wp-module-coming-soon": "^1.4.0",
"newfold-labs/wp-module-coming-soon": "^1.5.0",
"newfold-labs/wp-module-context": "^1.0.1",
"newfold-labs/wp-module-data": "^2.6.11",
"newfold-labs/wp-module-data": "^2.7.2",
"newfold-labs/wp-module-deactivation": "^1.4.0",
"newfold-labs/wp-module-ecommerce": "^1.6.1",
"newfold-labs/wp-module-facebook": "^1.2.1",
"newfold-labs/wp-module-features": "^1.5.0",
"newfold-labs/wp-module-global-ctb": "^1.0.14",
"newfold-labs/wp-module-global-ctb": "^1.2.0",
"newfold-labs/wp-module-help-center": "^2.3.1",
"newfold-labs/wp-module-loader": "^1.0.12",
"newfold-labs/wp-module-marketplace": "^2.6.2",
Expand Down
Loading