Repository navigation
feat: doctor, REST plugin filter, HTTP E2E and security fixes (0.8) - #17
Merged
Merged
Conversation
…ly, theme install synopsis; docs
…xpiry, preview site, secret length
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
wp headless doctor: checks on the running site, with the fix for each finding (--format=json, non-zero exit on failure).rest_plugins: load only the listed plugins on REST requests (advanced, off by default).tests/E2E/run.sh: the HTTP contract checked against a throwaway WordPress in Docker (27 checks).hl.token was served anonymously instead of 401;wp headless theme installwas refused by WP-CLI.$1substitution, ReDoS guard on redirect patterns, dot-segment bypass of the gate, rotation never extends expiry, preview token bound to its site, minimum preview secret length, search page cap.Tests
525 unit, 91 integration (real WordPress, Yoast, Polylang, WPGraphQL, Contact Form 7), E2E green,
composer qagreen.Public surface: new config key
rest_plugins;preview.secretnow needs 32 characters.