Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E theme switch: match incoming theme slug, then optional folder (Wo…
…rdPress#59851) * Test for incoming theme slug first. The `optionalFolder` regex part matches paths with a folder, so it will return the first match, which might contain a folder. First try to honor the including theme slug, that is, without a folder, the look for the optional folder path, if any. Co-authored-by: ramonjd <[email protected]> Co-authored-by: andrewserong <[email protected]>
- Loading branch information