[wp-trac] [WordPress Trac] #57329: Cannot save new custom template when name contains none-Latin characters
WordPress Trac
noreply at wordpress.org
Wed Dec 14 13:26:58 UTC 2022
#57329: Cannot save new custom template when name contains none-Latin characters
-------------------------------------------------+-------------------------
Reporter: mburridge | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: REST API | Version: 6.1.1
Severity: normal | Keywords:
Focuses: javascript, administration, rest- |
api |
-------------------------------------------------+-------------------------
When you try to save a new custom template where the template name
contains one or more
[https://en.wikipedia.org/wiki/List_of_Unicode_characters#Phonetic_scripts
non-latin characters] you get an error. The error appears to be related to
the REST endpoint.
See [https://github.com/WordPress/gutenberg/issues/41214 GitHub issue
#41214].
Too reproduce:
1. Select: Appearance -> Editor in the WP Admin
2. Click the WordPress logo in top left, and select Templates
3. Click Add New button (top right)
4. Select Custom template and give it a name with at least one non-latin
character
5. Save the new template
6. Confirm that you see the error in the editor and in the console.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57329>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list