[wp-trac] [WordPress Trac] #62193: Rename template registration API functions removing the wp_ prefix

WordPress Trac noreply at wordpress.org
Wed Sep 24 13:03:35 UTC 2025


#62193: Rename template registration API functions removing the wp_ prefix
--------------------------------------+----------------------------
 Reporter:  aljullu                   |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  closed
 Priority:  high                      |   Milestone:  6.7
Component:  Editor                    |     Version:  6.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  template
--------------------------------------+----------------------------

Comment (by shankarsj):

 Replying to [comment:4 peterwilsoncc]:
 > In [changeset:"59201" 59201]:
 > {{{
 > #!CommitTicketReference repository="" revision="59201"
 > Editor: Remove prefix from `wp_(un)register_block_template()` functions.
 >
 > Removes the `wp_` prefix from block template registration functions for
 consistency with other block related registration functions.
 >
 > * `wp_register_block_template()` becomes `register_block_template()`.
 > * `wp_unregister_block_template()` becomes
 `unregister_block_template()`.
 >
 > Props aljullu, aristath, youknowriad, swissspidy.
 > Fixes #62193.
 > }}}
 Great Thanks its working and fixed.

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


More information about the wp-trac mailing list