[wp-trac] [WordPress Trac] #54596: Block theme with period in name causes blank editor
WordPress Trac
noreply at wordpress.org
Mon Dec 13 21:43:31 UTC 2021
#54596: Block theme with period in name causes blank editor
-------------------------------------------------+-------------------------
Reporter: mkaz | Owner:
| hellofromTonya
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.9
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-testing-info has- | Focuses:
unit-tests |
-------------------------------------------------+-------------------------
Comment (by costdev):
== Test Report
=== Env
* WordPress 5.9-beta2-52344-src
* Chrome 96.0.4664.93
* Windows 10
* Theme: Twenty Twenty-Two
* Gutenberg Editor
* Plugin: None activated.
=== Steps to test
1. Rename a block theme directory to include `[ ] ( ) - _ (space) @`. For
example: `[twenty_twenty-two] (@ 1.0)`.
2. Navigate to `Appearance > Themes` and activate the theme.
3. Navigate to `Appearance > Site Editor`.
4. The Site Editor should fail to load.
5. Apply [https://github.com/WordPress/wordpress-develop/pull/2034 PR
2034].
6. Repeat steps 1-3.
7. The Site Editor should now load.
Additional testing:
- Repeat steps 1-7 but place the theme in a sub-directory with `[ ] ( ) -
_ (space) @` in its directory name.
=== Results
- Before the PR: The Site Editor fails to load.
- After the PR: The Site Editor loads as expected.
- Issue fixed ✅
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54596#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list