[wp-trac] [WordPress Trac] #62523: Can't register Block Templates for CPTs with an underscore "_" character in the key
WordPress Trac
noreply at wordpress.org
Tue Jan 28 14:58:47 UTC 2025
#62523: Can't register Block Templates for CPTs with an underscore "_" character in
the key
-------------------------------------------------+-------------------------
Reporter: alexandrebuffet | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7.2
Component: Editor | Version: 6.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing has- | Focuses: template
testing-info needs-unit-tests |
-------------------------------------------------+-------------------------
Changes (by jorbin):
* keywords: has-patch needs-testing has-testing-info => has-patch needs-
testing has-testing-info needs-unit-tests
* milestone: Awaiting Review => 6.7.2
Comment:
Moving to 6.7.2 for review.
I think an automated test would be helpful here to ensure that the
template name always allows exactly what is desired and does not include
what is not desired.
Also, cc/ @flixos90 since he's worked on metadata registration related
things.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62523#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list