[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
Thu Jan 16 04:48:55 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: Awaiting
| Review
Component: Editor | Version: 6.7
Severity: normal | Resolution:
Keywords: has-patch needs-testing has- | Focuses: template
testing-info |
-------------------------------------------------+-------------------------
Comment (by poena):
@karthickmurugan Please read my previous comment and ensure that you are
creating and applying the patch or diff from the root directory. Not from
inside the src directory.
A commiter can manually download the file and change the path, but ideally
should not have to.
{{{
--- wp-includes/class-wp-block-templates-registry.php (revision 58988)
+++ wp-includes/class-wp-block-templates-registry.php (working copy)
}}}
When applying this patch on the SVN copy, using the terminal, the file
cannot be found because the {{{src}}} is missing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62523#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list