Skip to content

Commit 9c2d1bc

Browse files
committed
chore(wp70): repin forward lanes to rc1
Verified against https://downloads.wordpress.org/release/wordpress-7.0-RC1.zip and https://make.wordpress.org/core/7-0/ on 2026-03-24.
1 parent 771f223 commit 9c2d1bc

10 files changed

Lines changed: 33 additions & 28 deletions

File tree

β€Ž.github/workflows/phpunit.ymlβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
branches: [main]
88
schedule:
9-
- cron: '0 3 * * *' # Nightly at 3 AM UTC β€” catches stable floor and 7.0 beta regressions.
9+
- cron: '0 3 * * *' # Nightly at 3 AM UTC β€” catches stable floor and 7.0 RC regressions.
1010

1111
jobs:
1212
unit-tests:
@@ -136,22 +136,22 @@ jobs:
136136
db_label: 'MySQL 8.0'
137137
db_image: 'mysql:8.0'
138138
- php: '8.1'
139-
wp: '7.0-beta4'
139+
wp: '7.0-RC1'
140140
multisite: false
141141
db_label: 'MySQL 8.0'
142142
db_image: 'mysql:8.0'
143143
- php: '8.1'
144-
wp: '7.0-beta4'
144+
wp: '7.0-RC1'
145145
multisite: true
146146
db_label: 'MySQL 8.0'
147147
db_image: 'mysql:8.0'
148148
- php: '8.3'
149-
wp: '7.0-beta4'
149+
wp: '7.0-RC1'
150150
multisite: false
151151
db_label: 'MySQL 8.0'
152152
db_image: 'mysql:8.0'
153153
- php: '8.3'
154-
wp: '7.0-beta4'
154+
wp: '7.0-RC1'
155155
multisite: true
156156
db_label: 'MySQL 8.0'
157157
db_image: 'mysql:8.0'

β€Ž.github/workflows/playground-preview.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
const blueprint = {
2929
'$schema': 'https://playground.wordpress.net/blueprint-schema.json',
30-
preferredVersions: { wp: '7.0-beta4' },
30+
preferredVersions: { wp: '7.0-RC1' },
3131
landingPage: '/wp-admin/',
3232
steps: [
3333
{ step: 'login', username: 'admin', password: 'password' },
@@ -52,7 +52,7 @@ jobs:
5252
'',
5353
`[**Open this PR in Playground β†’**](${playgroundUrl})`,
5454
'',
55-
'Preview is pinned to WordPress `7.0-beta4`.',
55+
'Preview is pinned to WordPress `7.0-RC1`.',
5656
'',
5757
'Logs in as `admin` / `password` and installs the plugin from this PR\'s commit.',
5858
'',

β€Ž.wp-env.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"core": "https://downloads.wordpress.org/release/wordpress-7.0-beta4.zip",
2+
"core": "https://downloads.wordpress.org/release/wordpress-7.0-RC1.zip",
33
"plugins": ["."],
44
"phpVersion": "8.2",
55
"port": 8889,

β€ŽCONTRIBUTING.mdβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export WP_TESTS_DIR="$PWD/.tmp/wordpress-tests-lib"
3232
export WP_CORE_DIR="$PWD/.tmp/wordpress"
3333

3434
# One-time setup: installs the WordPress 7.0 beta 4 test library and creates test DB
35-
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 7.0-beta4
35+
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 7.0-RC1
3636

3737
# Run tests
3838
composer test:integration
@@ -56,7 +56,7 @@ bash bin/install-wp-tests.sh \
5656
root \
5757
root \
5858
"localhost:$HOME/Library/Application Support/Local/run/<site-id>/mysql/mysqld.sock" \
59-
7.0-beta4
59+
7.0-RC1
6060
```
6161

6262
To discover the available Local sockets:
@@ -184,7 +184,7 @@ npm run env:assert-wp-version
184184
```
185185

186186
The last command verifies that both `wp-env` environments are actually running
187-
WordPress `7.0-beta4`, not just that the containers started.
187+
WordPress `7.0-RC1`, not just that the containers started.
188188

189189
Run both Playwright projects locally:
190190

@@ -316,7 +316,7 @@ Current live counts and matrix details are centralized in [`docs/current-metrics
316316
- `139` integration test methods cover real-WordPress flows across admin, REST, AJAX, request stash/replay, multisite, and Two Factor interaction.
317317
- `58` Playwright tests cover the browser-visible challenge flow, including stale-session recovery, 2FA, resend, throttle, lockout, expiry recovery, stash replay, and reusable stack-smoke subsets for alternate environments.
318318
- CI runs unit tests on PHP `8.0` through `8.4`.
319-
- CI runs integration tests on PHP `8.0`, `8.1`, and `8.3` against WordPress `6.2`, `6.7`, and `7.0-beta4`.
319+
- CI runs integration tests on PHP `8.0`, `8.1`, and `8.3` against WordPress `6.2`, `6.7`, and `7.0-RC1`.
320320
- CI runs a scheduled WordPress compatibility sweep on `6.3`, `6.4`, `6.5`, and `6.6` with PHP `8.1`, plus MariaDB overlap lanes on WordPress `6.4` and `6.5`.
321321
- CI runs integration coverage on MySQL `8.0` plus one MariaDB LTS lane.
322322
- CI runs browser tests on the default `wp-env` Apache + MariaDB stack and stack-smoke browser tests on explicit nginx + php-fpm + MariaDB, explicit nginx + php-fpm + MariaDB multisite, and Playground SQLite lanes.
@@ -347,9 +347,9 @@ Every PR automatically gets a **"Try in WordPress Playground"** comment with a
347347
link that installs the plugin from that PR's commit and lands you in the admin
348348
logged in as `admin` / `password`.
349349

350-
Current Playground previews are pinned to WordPress `7.0-beta4` as of 2026-03-12.
350+
Current Playground previews are pinned to WordPress `7.0-RC1` as of 2026-03-24.
351351

352-
For WordPress 7.0 release signoff, do not treat the green beta-era CI matrix as a substitute for the RC/GA manual pass. Record each RC and GA result in the `15.0 Release Signoff Log` table in [`tests/MANUAL-TESTING.md`](tests/MANUAL-TESTING.md) before claiming final 7.0 readiness.
352+
For WordPress 7.0 release signoff, do not treat the green RC-era CI matrix as a substitute for the remaining RC/GA manual passes. RC1 is recorded in the `15.0 Release Signoff Log` table in [`tests/MANUAL-TESTING.md`](tests/MANUAL-TESTING.md); repeat that signoff for each later RC and for GA before claiming final 7.0 readiness.
353353

354354
### What you can test in Playground
355355

β€Žblueprint.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
33
"preferredVersions": {
4-
"wp": "7.0-beta4"
4+
"wp": "7.0-RC1"
55
},
66
"landingPage": "/wp-admin/",
77
"steps": [

β€Ždocs/ROADMAP.mdβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ All 5 phases shipped. Identified by independent assessments from Codex, Gemini,
110110

111111
### βœ“ CI Matrix β€” ~~Phase A~~ βœ… Done v2.9.2
112112

113-
- PHP 8.0–8.4 for unit tests; targeted integration coverage for WordPress 6.2, 6.7, and 7.0-beta4; single-site + multisite + PCOV coverage
113+
- PHP 8.0–8.4 for unit tests; targeted integration coverage for WordPress 6.2, 6.7, and 7.0-RC1; single-site + multisite + PCOV coverage
114114

115115
---
116116

@@ -121,16 +121,16 @@ challenges and priorities for WP Sudo.
121121

122122
Current project state (as of March 8, 2026):
123123
- Current test and size counts are centralized in [`docs/current-metrics.md`](docs/current-metrics.md).
124-
- CI pipeline: unit tests on PHP 8.0–8.4; integration tests on PHP 8.0/8.1/8.3; WordPress 6.2, 6.7, and 7.0-beta4; single-site + multisite; MySQL 8.0 plus one MariaDB lane; PCOV coverage job
125-
- WordPress 7.0 Beta 2 tested (February 27, 2026); GA is April 9, 2026
124+
- CI pipeline: unit tests on PHP 8.0–8.4; integration tests on PHP 8.0/8.1/8.3; WordPress 6.2, 6.7, and 7.0-RC1; single-site + multisite; MySQL 8.0 plus one MariaDB lane; PCOV coverage job
125+
- WordPress 7.0 RC1 signoff recorded (March 24, 2026); GA is April 9, 2026
126126

127127
---
128128

129129
## 1. Integration Tests β€” Scope and Value
130130

131131
> **Status: Complete.** The integration test suite shipped in v2.4.0 (55 tests) and
132132
> expanded in v2.4.1 (73 tests). CI now runs targeted compatibility lanes across
133-
> PHP 8.0/8.1/8.3 and WordPress 6.2, 6.7, and 7.0-beta4 with single-site +
133+
> PHP 8.0/8.1/8.3 and WordPress 6.2, 6.7, and 7.0-RC1 with single-site +
134134
> multisite coverage. The analysis below is preserved for context on what drove
135135
> the test design.
136136
@@ -198,7 +198,7 @@ These gaps have been closed by the integration suite:
198198

199199
## 2. WordPress 7.0 Prep (GA April 9, 2026)
200200

201-
> **Status:** WP 7.0 Beta-era automation and manual beta checks are green, but RC1 signoff is not yet recorded. Repeat the manual verification pass on each RC build, including an RC3 checkpoint on April 2, 2026, log each result in `tests/MANUAL-TESTING.md`, then do the final readme "Tested up to" bump on GA.
201+
> **Status:** WP 7.0 beta-era automation and manual beta checks are green, and RC1 signoff is recorded on 2026-03-24. Repeat the manual verification pass on each later RC build, including an RC3 checkpoint on April 2, 2026, log each result in `tests/MANUAL-TESTING.md`, then do the final readme "Tested up to" bump on GA.
202202
203203
### Verified changes that affect WP Sudo
204204

@@ -406,7 +406,7 @@ Local by Flywheel sites. Gaps remain in CI and broader hosting diversity.
406406
| **Web server** | Apache + MariaDB (`wp-env` Playwright CI), nginx + php-fpm + MariaDB (stack-smoke CI), nginx + SQLite (Studio local), nginx/Apache + MySQL (Local manual) | full browser suite still runs only on the default Apache stack |
407407
| **PHP version** | 8.0–8.4 (unit CI), 8.0/8.1/8.3 (integration CI), 8.2 (Studio/wp-env local) | 8.2 and 8.4 are still missing from integration CI |
408408
| **Database** | MySQL 8.0 (integration CI), MariaDB LTS (`wp-env` CI + one integration lane + WP 6.4 / 6.5 compat-sweep lanes), SQLite (Playground stack-smoke CI + Studio local) | broader MariaDB/version overlap, MySQL 5.7 legacy hosts |
409-
| **WordPress version** | 6.2 support-floor lane, 6.3–6.6 scheduled compat sweep, 6.7 stable lane, 7.0-beta4 forward lane | 6.3–6.6 are not part of required push/PR CI yet |
409+
| **WordPress version** | 6.2 support-floor lane, 6.3–6.6 scheduled compat sweep, 6.7 stable lane, 7.0-RC1 forward lane | 6.3–6.6 are not part of required push/PR CI yet |
410410
| **OS** | macOS (dev), Ubuntu 24.04 (CI) | Windows (if any WP-CLI or path handling is OS-sensitive) |
411411
| **Hosting stack** | Bare local dev | Shared hosting (cPanel), managed WP (Pressable, WP Engine, Cloudways), containerized (Docker, Kubernetes) |
412412

@@ -424,13 +424,13 @@ Local by Flywheel sites. Gaps remain in CI and broader hosting diversity.
424424
The upgrader migration chain and option serialization could behave differently.
425425
- **Backward compat:** The plugin declares WordPress 6.2+ minimum. CI now includes
426426
a dedicated 6.2 floor lane, a scheduled 6.3–6.6 compatibility sweep, plus 6.7
427-
and 7.0-beta4 lanes.
427+
and 7.0-RC1 lanes.
428428

429429
### Recommended approach
430430

431431
**Phase A: Expand CI matrix** βœ… Done v2.9.2, extended in v2.14.x
432432

433-
CI matrix now covers PHP 8.0–8.4 for unit tests, a 6.2 support-floor integration lane on PHP 8.0, stable/forward integration lanes on PHP 8.1 and 8.3 for WordPress 6.7 and 7.0-beta4, one dedicated MariaDB lane, and a scheduled WordPress 6.3–6.6 compatibility sweep on PHP 8.1 with additional WordPress 6.4 and 6.5 MariaDB overlap lanes.
433+
CI matrix now covers PHP 8.0–8.4 for unit tests, a 6.2 support-floor integration lane on PHP 8.0, stable/forward integration lanes on PHP 8.1 and 8.3 for WordPress 6.7 and 7.0-RC1, one dedicated MariaDB lane, and a scheduled WordPress 6.3–6.6 compatibility sweep on PHP 8.1 with additional WordPress 6.4 and 6.5 MariaDB overlap lanes.
434434

435435
**Phase B: Apache + MariaDB CI job** βœ… Covered by Playwright `wp-env`
436436

@@ -473,7 +473,7 @@ As of 2026-03-23, the practical testing picture is:
473473
Specifically, the repo now has:
474474
- unit CI on PHP `8.0`–`8.4`
475475
- integration CI on PHP `8.0`/`8.1`/`8.3`
476-
- automated WordPress lanes for `6.2`, `6.7`, and `7.0-beta4`
476+
- automated WordPress lanes for `6.2`, `6.7`, and `7.0-RC1`
477477
- a scheduled WordPress `6.3`–`6.6` compatibility sweep
478478
- one MariaDB integration lane in addition to the main MySQL `8.0` matrix, plus WordPress `6.4` and `6.5` MariaDB overlap lanes in the scheduled sweep
479479
- Playwright E2E on Apache + MariaDB via `wp-env`

β€Ždocs/current-metrics.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ value across these known consumers:
6262
Source: `.github/workflows/phpunit.yml`, `.github/workflows/e2e.yml`, `.github/workflows/e2e-nginx.yml`, `.github/workflows/e2e-sqlite.yml`, `.github/workflows/compat-wordpress-minors.yml`
6363

6464
- Unit test matrix: PHP 8.0, 8.1, 8.2, 8.3, 8.4
65-
- Integration matrix: PHP 8.0, 8.1, 8.3; WordPress 6.2, 6.7, 7.0-beta4; MySQL 8.0 plus one MariaDB LTS lane; multisite true/false on the main MySQL lanes
65+
- Integration matrix: PHP 8.0, 8.1, 8.3; WordPress 6.2, 6.7, 7.0-RC1; MySQL 8.0 plus one MariaDB LTS lane; multisite true/false on the main MySQL lanes
6666
- Scheduled compat sweep: PHP 8.1 on WordPress 6.3, 6.4, 6.5, and 6.6, plus MariaDB LTS overlap lanes on WordPress 6.4 and 6.5
6767
- Browser stack smoke workflows: Apache + MariaDB (`wp-env`), nginx + php-fpm + MariaDB, and Playground SQLite
6868

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "wp-sudo",
33
"private": true,
44
"scripts": {
5-
"env:assert-wp-version": "bash bin/assert-wp-env-version.sh 7.0-beta4",
5+
"env:assert-wp-version": "bash bin/assert-wp-env-version.sh 7.0-RC1",
66
"env:start": "wp-env start",
77
"env:stop": "wp-env stop",
88
"env:clean": "wp-env destroy",

β€Žtests/Integration/bootstrap.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
if ( ! file_exists( $_tests_dir . '/includes/functions.php' ) ) {
2727
echo "ERROR: WordPress test library not found at {$_tests_dir}/includes/functions.php\n";
28-
echo "Run: bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 7.0-beta4\n";
28+
echo "Run: bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 7.0-RC1\n";
2929
exit( 1 );
3030
}
3131

β€Žtests/MANUAL-TESTING.mdβ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ Track the release-candidate and GA passes here so WP 7.0 readiness is explicit.
870870

871871
| Milestone | Status | Date | Build | Environment | Notes |
872872
|-----------|--------|------|-------|-------------|-------|
873-
| RC1 | Pending | β€” | β€” | β€” | Manual WP 7.0 RC1 pass not yet recorded |
873+
| RC1 | PASS | 2026-03-24 | 7.0-RC1 | `wp-env` + Playwright | Sections 15.1-15.5 PASS after repinning forward lanes to RC1 |
874874
| RC2 | Pending | β€” | β€” | β€” | |
875875
| RC3 | Pending | β€” | β€” | β€” | Required checkpoint before GA |
876876
| GA | Pending | β€” | β€” | β€” | Final "Tested up to" bump depends on this pass |
@@ -886,6 +886,7 @@ Track the release-candidate and GA passes here so WP 7.0 readiness is explicit.
886886
- Gated actions table (`.widefat.striped`) renders with correct spacing.
887887
- MU-plugin status section renders correctly.
888888
3. **Result:** PASS β€” 2026-02-20 (WP 7.0-alpha-61698, Studio)
889+
4. **Result:** PASS β€” 2026-03-24 (WP 7.0-RC1, `wp-env` + Playwright browser verification)
889890

890891
### 15.2 Challenge Page
891892

@@ -897,6 +898,7 @@ Track the release-candidate and GA passes here so WP 7.0 readiness is explicit.
897898
- "Confirm & Continue" and "Cancel" buttons render correctly.
898899
- No raw text or visible escape sequences appear in the card.
899900
4. **Result:** PASS β€” 2026-02-20 (WP 7.0-alpha-61698, Studio)
901+
5. **Result:** PASS β€” 2026-03-24 (WP 7.0-RC1, `wp-env` + Playwright browser verification)
900902

901903
### 15.3 Admin Bar Countdown
902904

@@ -906,6 +908,7 @@ Track the release-candidate and GA passes here so WP 7.0 readiness is explicit.
906908
- Red state (#c62828) appears in the final 60 seconds.
907909
- Admin bar node does not conflict with WP 7.0 toolbar chrome.
908910
3. **Result:** PASS β€” 2026-02-20 (WP 7.0-alpha-61698, Studio)
911+
4. **Result:** PASS β€” 2026-03-24 (WP 7.0-RC1, `wp-env` + Playwright browser verification, including expiring-state timer check)
909912

910913
### 15.4 Admin Notices (Gate Notice + Blocked Notice)
911914

@@ -914,6 +917,7 @@ Track the release-candidate and GA passes here so WP 7.0 readiness is explicit.
914917
- `.notice.notice-warning` class applies correctly under WP 7.0.
915918
- Link to the challenge page is visible and styled.
916919
3. **Result:** PASS β€” 2026-02-20 (WP 7.0-alpha-61698, Studio)
920+
4. **Result:** PASS β€” 2026-03-24 (WP 7.0-RC1, `wp-env` + Playwright browser verification)
917921

918922
### 15.5 Disabled Action Links (Plugin/Theme rows)
919923

@@ -923,6 +927,7 @@ Track the release-candidate and GA passes here so WP 7.0 readiness is explicit.
923927
- Inline `color:#787c82; cursor:default` renders correctly.
924928
- No conflict with new row-action hover styles from the admin refresh.
925929
3. **Result:** PASS β€” 2026-02-20 (WP 7.0-alpha-61698, Studio)
930+
4. **Result:** PASS β€” 2026-03-24 (WP 7.0-RC1, `wp-env` + Playwright browser verification)
926931

927932
---
928933

0 commit comments

Comments
Β (0)