From a4c68e3c564f298a72ed30688d1be0bef0294a87 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Fri, 14 Aug 2026 19:05:48 -0500 Subject: [PATCH] chore: run the local environment on WordPress 7.0.4 Production upgraded to 7.0.4, so the development and test containers now match it instead of trailing on 6.9.6. The full suite passes unchanged against the new core, and the pinned assertion moves with it. Co-Authored-By: Claude Opus 5 (1M context) --- .wp-env.json | 2 +- tests/smoke/project-config.test.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.wp-env.json b/.wp-env.json index 8c81de8..52d2bfa 100644 --- a/.wp-env.json +++ b/.wp-env.json @@ -1,6 +1,6 @@ { "$schema": "https://schemas.wp.org/trunk/wp-env.json", - "core": "https://wordpress.org/wordpress-6.9.6.zip", + "core": "https://wordpress.org/wordpress-7.0.4.zip", "phpVersion": "8.3", "autoPort": false, "port": 8888, diff --git a/tests/smoke/project-config.test.mjs b/tests/smoke/project-config.test.mjs index ae6235e..59e1661 100644 --- a/tests/smoke/project-config.test.mjs +++ b/tests/smoke/project-config.test.mjs @@ -12,7 +12,7 @@ test('tooling is pinned and wp-env maps this repo as chrnx', async () => { assert.equal(pkg.devDependencies['@wordpress/scripts'], '34.0.0'); assert.equal(pkg.devDependencies['@playwright/test'], '1.62.1'); assert.equal(pkg.devDependencies.lighthouse, '13.4.1'); - assert.equal(env.core, 'https://wordpress.org/wordpress-6.9.6.zip'); + assert.equal(env.core, 'https://wordpress.org/wordpress-7.0.4.zip'); assert.equal(env.phpVersion, '8.3'); assert.equal(env.autoPort, false); assert.equal(env.port, 8888);