Skip to content

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

@fellyph

Description

@fellyph

The GitHub Action responsible for generating the WordPress Playground preview button is currently loading an not compatible version of WordPress.

The WordPress AI plugin requires at least WordPress 7.0 to run correctly. However, the current action configuration loads WordPress 6.9.4, causing the plugin to fail when the preview button is clicked.

Steps to Reproduce:

  1. Click the generated "Preview" button on the PR.
  2. When Playground loads, a modal with an error should show up

Expected Behavior:
The Playground preview should load WordPress version 7.0 so the AI plugin can run perfectly for testing and review.

Actual Behavior:
The Playground preview loads WordPress 6.9.4, which is incompatible with the plugin's current state.

Proposed Solution:
Update the GitHub Action configuration for the Playground preview. Specifically, set the WordPress version parameter to beta. This will instruct the Playground to load the latest WordPress 7.0 Release Candidate (RC), ensuring full compatibility with the plugin.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions