close
Skip to content

Fix WordPress 7.0 preview and test configs#626

Merged
dkotter merged 2 commits into
WordPress:developfrom
mehul0810:fix/623-playground-wp-7-0
May 27, 2026
Merged

Fix WordPress 7.0 preview and test configs#626
dkotter merged 2 commits into
WordPress:developfrom
mehul0810:fix/623-playground-wp-7-0

Conversation

@mehul0810
Copy link
Copy Markdown
Contributor

@mehul0810 mehul0810 commented May 27, 2026

What?

Closes #623

Updates the Playground, Plugin Check, PHPUnit, and wp-env configs now that WordPress 7.0 is available as the latest stable release.

Why?

The AI plugin requires WP 7.0, but some configs still contained temporary pre-release or trunk settings that were added before WP 7.0 was released.

This could cause the AI plugin Playground preview to load WP 7.0 RC5 instead of the final WP 7.0 release. Now that 7.0 is released, these configs can use stable release defaults again while keeping explicit trunk coverage where it is still useful.

How?

  • Pins the WordPress.org Playground blueprint to WordPress 7.0.
  • Pins the PR Playground preview blueprint to WordPress 7.0.
  • Restores Plugin Check to run against latest.
  • Restores the PHPUnit matrix to run against both latest and trunk.
  • Restores .wp-env configs to core: null, which uses the latest production WordPress release.

Use of AI Tools

AI assistance: Yes
Tool(s): Codex
Model(s): GPT-5
Used for: Identifying the affected config files, preparing the local patch, and drafting validation steps. The changes were reviewed and confirmed by me.

Testing Instructions

  • Confirm blueprint.json after running the blueprint on WP Playground

Screenshots or screencast

Not applicable. This is a configuration-only change.

Changelog Entry

Fixed - Playground and test configs now target the stable WordPress 7.0/latest release instead of temporary pre-release or trunk defaults where appropriate.

Open WordPress Playground Preview

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: mehul0810 <mehul0810@git.wordpress.org>
Co-authored-by: dkotter <dkotter@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@mehul0810 mehul0810 force-pushed the fix/623-playground-wp-7-0 branch from 6031c83 to 8d898c3 Compare May 27, 2026 03:28
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.45%. Comparing base (dcb1a90) to head (b09a37b).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #626      +/-   ##
=============================================
+ Coverage      74.00%   74.45%   +0.45%     
- Complexity      1738     1740       +2     
=============================================
  Files             85       85              
  Lines           7490     7521      +31     
=============================================
+ Hits            5543     5600      +57     
+ Misses          1947     1921      -26     
Flag Coverage Δ
unit 74.45% <ø> (+0.45%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .github/workflows/test.yml
@jeffpaul jeffpaul added this to the 1.0.1 milestone May 27, 2026
const blueprint = {
preferredVersions: {
wp: 'beta',
wp: '7.0',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We shouldn't specify a version here as this will get out of date whenever a new version is released. I think we'd want latest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changed in b09a37b

Comment thread .github/workflows/test.yml
"preferredVersions": {
"php": "7.4",
"wp": "beta"
"wp": "7.0"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Similar to above, this should be latest I think

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changed in b09a37b

@dkotter dkotter self-assigned this May 27, 2026
@dkotter dkotter merged commit 838d798 into WordPress:develop May 27, 2026
27 of 28 checks passed
@mehul0810 mehul0810 deleted the fix/623-playground-wp-7-0 branch May 28, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update playground and blueprints to use WP 7.0

3 participants