Skip to content

Conversation

@mardelnet
Copy link
Contributor

@mardelnet mardelnet commented Dec 11, 2025

Summary

This PR upgrades WordPress to 6.9.

Ref: https://greenpeace-planet4.atlassian.net/browse/PLANET-8061


Related PRs

  1. PLANET-8061: Adjust the master theme to WordPress 6.9 planet4-master-theme#2827
  2. PLANET-8061: Upgrade WordPress to v6.9 planet4-base#361

Testing

  • Install and run a local instance of the website using this branch.
  • Upgrade the plugins:
    • WPML: npx wp-env run cli wp plugin install https://storage.googleapis.com/planet4-3rdparty-plugins/sitepress-multilingual-cms.4.6.15.zip --force
    • GravityForms: npx wp-env run cli wp plugin install https://storage.googleapis.com/planet4-3rdparty-plugins/gravityforms_2.9.24.zip --force

- Upgrade WordPress to v6.9
Copy link

@Osong-Michael Osong-Michael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mardelnet so following the instructions on the PR, i was able to upgrade the WP version and the other plugins, but when I run npm run env:start to basically restart my local environment, I run into issues, this also prevents tests from running locally on my end

Running global setup if any…

Running 115 tests using 2 workers

  1. [setup] › tests/e2e/tools/setup/auth.setup.js:3:6 › authenticate ──────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://www.planet4.test/wp-admin/
Call log:
  - navigating to "http://www.planet4.test/wp-admin/", waiting until "load"


  2 |
  3 | setup('authenticate', async ({page, requestUtils}) => {
> 4 |   await page.goto('./wp-admin/');
    |              ^
  5 |   await requestUtils.setupRest();
  6 | });
  7 |
    at /Users/oagbernd/Documents/Work/GPI/planet4-develop/planet4/themes/planet4-master-theme/tests/e2e/tools/setup/auth.setup.js:4:14

attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
e2e-results/tools-setup-auth.setup.js-authenticate-setup/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────

1 failed
[setup] › tests/e2e/tools/setup/auth.setup.js:3:6 › authenticate ───────────────────────────────
114 did not run

@mardelnet
Copy link
Contributor Author

Hey @mardelnet so following the instructions on the PR, i was able to upgrade the WP version and the other plugins, but when I run npm run env:start to basically restart my local environment, I run into issues, this also prevents tests from running locally on my end

Thanks @Osong-Michael. I do not face the same issue on my end.
@comzeradd would you mind checking the testing instructions of this PR, running npm run env:start afterwards, and letting us know if you get errors, too?

@comzeradd
Copy link
Member

On a fresh develop clone I switched to this branch and run env:install. Then upgraded the plugins as mentioned in the testing steps. No problem noticed. Then I also run env:stop and env:start and everything worked fine.

@mardelnet mardelnet merged commit 8e9922c into main Jan 26, 2026
5 checks passed
@mardelnet mardelnet deleted the PLANET-8061_upgrade-to-wordpress-6.9 branch January 26, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants