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

Blueprints: Support a landingPage value without the initial slash #1227

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

adamziel
Copy link
Collaborator

Without this PR, a Blueprint like { "landingPage": "wp-admin/plugins.php" } won't work as there is no initial slash. This PR adjusts the Playground API to prepend that slash as URLs without one should be relative to the document root anyway.

Testing instructions

Confirm the E2E tests passed

cc @bph @dmsnell

Without this PR, a Blueprint like `{ "landingPage": "wp-admin/plugins.php" }`
won't work as there is no initial slash. This PR adjusts the Playground
API to prepend that slash as URLs without one should be relative to
the document root anyway.

 ## Testing instructions

Confirm the E2E tests passed
@adamziel adamziel changed the title Blueprints: Support a landingPage value without initial slash Blueprints: Support a landingPage value without the initial slash Apr 11, 2024
@adamziel adamziel merged commit 5896219 into trunk Apr 11, 2024
5 checks passed
@adamziel adamziel deleted the support-landing-pages-without-initial-slash branch April 11, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant