[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 30 07:04:20 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 has-unit-tests                    |
-------------------------------------------------+-------------------------

Comment (by karthickmurugan):

 Thanks @sukhendu2002 for adding the PHPUnit test for this.

 cc @flixos90

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


More information about the wp-trac mailing list