Skip to content

Add preferred version for WordPress in PR preview action#366

Merged
dkotter merged 4 commits intoWordPress:developfrom
fellyph:fixing-playground-pr-button
Apr 2, 2026
Merged

Add preferred version for WordPress in PR preview action#366
dkotter merged 4 commits intoWordPress:developfrom
fellyph:fixing-playground-pr-button

Conversation

@fellyph
Copy link
Copy Markdown
Contributor

@fellyph fellyph commented Apr 2, 2026

What?

Closes #365

Why?

Currently, the Playground preview is loading WordPress version 6.9.4. Because the WordPress AI plugin requires at least version 7.0 to run properly, the preview environment is currently broken.

How?

I updated the GitHub Action configuration to set the WordPress version to beta. This ensures that the Playground environment loads the latest WordPress 7.0 Release Candidate (RC), making the plugin compatible again.

Use of AI Tools

Testing Instructions

  1. Let the GitHub Action run on this PR.
  2. Click the generated "Preview" button.
  3. Verify that the Playground loads WordPress 7.0 (Beta/RC).
  4. Verify that the AI plugin activates and runs successfully.

Testing Instructions for Keyboard

Screenshots or screencast

Before After
Open WordPress Playground Preview

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

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: fellyph <fellyph@git.wordpress.org>

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.95%. Comparing base (5af7651) to head (1327465).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #366   +/-   ##
==========================================
  Coverage      57.95%   57.95%           
  Complexity       629      629           
==========================================
  Files             46       46           
  Lines           3204     3204           
==========================================
  Hits            1857     1857           
  Misses          1347     1347           
Flag Coverage Δ
unit 57.95% <ø> (ø)

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.

@dkotter dkotter added this to the 0.7.0 milestone Apr 2, 2026
Copy link
Copy Markdown
Collaborator

@dkotter dkotter left a comment

Choose a reason for hiding this comment

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

Can't actually test this until it's merged (as GitHub doesn't use workflows from forks). This looks correct to me so going to approve this

@dkotter dkotter merged commit ab57fa9 into WordPress:develop Apr 2, 2026
18 checks passed
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.

Bug: Playground preview loads incompatible WP version (6.9.4 instead of required 7.0)

2 participants