Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix blank site editor when theme name contains a period (#37167)
* Add \. as valid character in rest route regex * Fix regex for stylesheet vs. id * Add slash to regex to support subdir themes * Include subdir in regex * Update regex to match core trac update * Sync route regex for theme directory characters Sync the updates in core from Trac https://core.trac.wordpress.org/changeset/52376 that support theme directories with special characters. Confirm site editor loads properly. * Update global styles phpunit test from trac ticket. The core ticket added additional fixtures and tests that are not in the plugin. So those are not being copied over. Just updating the existing test and adding one for /themes endpoint.
- Loading branch information