Preview WordPress Core Pull Requests with Playground

Preview WordPress Core Pull Requests with Playground

Posted by WP Tavern on October 17, 2023 at 3:28 pm
kitty kitty CATegory News
Adam Zieliński, creator of WordPress Playground, announced today that the WordPress Core PR previewer is now live. Playground is an experimental project that uses WebAssembly (WASM) to run WordPress in the browser. It creates a WordPress instance with admin access without having to install PHP, MySQL, or Apache, making it nearly instantaneous to fire up a test site. Testing pull requests is one of the most exciting use cases for the Playground project. The newly launched WordPress Core PR previewer can be found at playground.wordpress.net/wordpress.html. Users can enter the PR number or the URL. The PR for for previewing wordpress-develop repository pull pequests adds support for a few query parameters that developers can use to customize how the preview loads: ?pr=5481 – preview that PR ?url=/wp-admin/post-new.php – load that URL in WordPress ?mode=seamless – redirect to a full-screen Playground without the browser chrome and any other extra UI elements Zieliński identified a couple of known issues with this first implementation that developers should be aware of when working with the previewer: Existing PRs need a rebase to work but new PRs work just fine. Additionally, if you test it out, you will find that downloading WordPress may take a long time, as the bundle…

…Full post on WP Tavern
Read Full

Similar Posts

Leave a Reply