Skip to content

Update PR Playground Preview workflow: Replace deprecated pluginZipFile with pluginData #547

Description

@hbhalodia

Description

Summary

The pr-playground-preview.yml workflow uses the deprecated pluginZipFile option in the WordPress Playground blueprint. It needs to be updated to use pluginData instead.

Details

In the "Generate Playground blueprint JSON" step of the playground-details job, the blueprint currently uses:

{
  "step": "installPlugin",
  "pluginZipFile": {
    "resource": "url",
    "url": "<artifact-url>"
  }
}

WordPress Playground now emits the following deprecation warning:

The "pluginZipFile" option of the "installPlugin" step is deprecated. Use "pluginData" instead.

Proposed Fix

Replace pluginZipFile with pluginData in .github/workflows/pr-playground-preview.yml:

  {
    step: 'installPlugin',
-   pluginZipFile: {
+   pluginData: {
      resource: 'url',
      url,
    },
  },

Step-by-step reproduction instructions

  1. Go to any PR generated in the repository.
  2. Click on Try it in Playground button.
  3. Open inspect and console tab. See the deprecation notice.

Screenshots, screen recording, code snippet

Screen.Recording.2026-05-14.at.10.08.56.AM.mov

Environment info

  • WP version - 7.0-RC3-62350
  • AI plugin version - Develop branch
  • Browser - Google Chrome 148.0.7778.98
  • Device - MacBook Air M1

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except the AI plugin.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Type] BugSomething isn't working

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