Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WordPress beta and RC versions #709

Merged
merged 5 commits into from
Oct 18, 2023
Merged

Support WordPress beta and RC versions #709

merged 5 commits into from
Oct 18, 2023

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented Oct 18, 2023

Description

This pull request introduces support for WordPress beta and Release Candidate (RC) versions in the WordPress Playground.

Closes #500.
Closes #501.
Closes #306.

CleanShot 2023-10-18 at 16 08 59@2x

Changes

  • The Dockerfile has been updated to automatically detect and keep the default theme for each WordPress release.
  • Several updates to the build scripts and JSON files have been made to support these changes.
  • The Blueprints no longer rely on a hardcoded list of supported WordPress versions. Instead, this PR introduces a new method where remote.html tells the client which versions it supports. This reduces coupling – the same client can work with different remotes.

Testing instructions

  1. Run npx nx recompile-wordpress:all playground-remote
  2. Verify that the Playground successfully builds the latest 4 major WordPress versions and beta and nightly
  3. Confirm the local Playground UI works well and allows switching between the different WordPress versions

Description TBD. In short:

* Blueprints no longer use a hardcoded list of supported WordPress
  versions. Now the remote declares which versions it supports.
* Playground automatically builds the last 4 major WordPress versions
  without the need for manual updates.
* Default theme for each WordPress release is automatically detected and
  no longer has to be hardcoded.
@adamziel adamziel changed the title Add WordPress beta/RC support Support WordPress beta and RC versions Oct 18, 2023
@adamziel adamziel merged commit a4d8b26 into trunk Oct 18, 2023
4 checks passed
@adamziel adamziel deleted the add/wp-beta-support branch October 18, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant