[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 Dec 10 16:17:15 UTC 2024


#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                                   |
-------------------------------------------------+-------------------------
Changes (by karthickmurugan):

 * Attachment "62523-final.patch" added.

 Thanks @gaambo for the feedback. Updated the patch file with the
 consistent regex pattern. Tested it and working prefectly.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62523>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list