[wp-trac] [WordPress Trac] #54596: Block theme with period in name causes blank editor
WordPress Trac
noreply at wordpress.org
Thu Dec 9 01:04:33 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 peterwilsoncc):
This looks to be a wider problem with other characters that are permitted
in folder names but do not currently work. I've put some notes below.
Somewhat challenging is that not all characters allowed in a folder name
are permitted in a post name, so global styles set up with the theme `my-
theme` and `my.theme` may both end up with the same slug.
----
Manual testing with various characters in the folder name ''with this
patch applied'' follows.
For the 2022 clone, success or failure is indicated by whether the editor
works.
For the 2020 clone, success or failure is indicated by whether the
customizer works.
||=Character=||=2022 clone=||=2020 clone=||
|| space || Failed || Successful ||
|| `.` || Successful || Successful ||
|| `[` || Failed || Failed ||
|| `|` || Failed || Successful ||
|| `=` || Failed || Successful ||
|| `(` || Failed || Successful ||
|| `+` || Failed || Successful ||
|| `@` || Failed || Successful ||
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54596#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list