Skip to content

Conversation

@nikunj8866
Copy link

Trac ticket: https://core.trac.wordpress.org/ticket/60194


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props nikunj8866, mukesh27, rakib03029, dhruvang21.

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

@nikunj8866 nikunj8866 changed the title Add Preview in Playground buttons to plugin install screens. Refresh admin-plugin-preview.0.diff Add "Live Preview" button support to plugin install screen. Refresh admin-plugin-preview.0.diff Oct 9, 2025
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • The Plugin and Theme Directories cannot be accessed within Playground.
  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@RakibulIslam39
Copy link

RakibulIslam39 commented Oct 29, 2025

== Test Report
=== Description
This report validates whether the indicated patch works as expected.

Patch tested: https://core.trac.wordpress.org/ticket/60194

=== Environment

  • WordPress: 6.8.3
  • PHP: 8.0.30-dev
  • Server: PHP.wasm
  • Database: WP_SQLite_Driver (Server: 5.5 / Client: 3.40.1)
  • Browser: Chrome 141.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Five 1.3
  • MU Plugins: None activated
  • Plugins:
  • Convert to Blocks 1.3.4
  • Test Reports 1.2.0
  • WordPress Importer 0.9.4

=== Steps tested

  1. Navigated to Plugins → Add New

  2. Searched for Convert to Blocks

  3. Verified the Live Preview button is displayed

  4. Clicked the button → redirected to Playground:

  5. [Redirect URL](https://playground.wordpress.net/?plugin=convert-to-blocks&blueprint-url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fwp-json%2Fplugins%2Fv1%2Fplugin%2Fconvert-to-blocks%2Fblueprint.json%3Frev%3D3328483%26lang%3Den_US](https://playground.wordpress.net/?plugin=convert-to-blocks&blueprint-url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fwp-json%2Fplugins%2Fv1%2Fplugin%2Fconvert-to-blocks%2Fblueprint.json%3Frev%3D3328483%26lang%3Den_US)

  6. Playground loaded the plugin successfully

  7. Button did not appear for plugins without a preview link

  8. After installing, Live Preview button disappeared

=== Actual Results

  1. ✅ Issue resolved with patch.

=== Additional Notes

  • Any additional details worth mentioning.

=== Supplemental Artifacts

Add Inline: [[Image(https://www.awesomescreenshot.com/image/57153858?key=4b25c234b928b287820d30c0a429f2a9)]]

@dhruvang21
Copy link

@nikunj8866 Tested the PR with wordpress playground and it's working fine

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.

4 participants