[wp-trac] [WordPress Trac] #62193: Rename template registration API functions removing the wp_ prefix
WordPress Trac
noreply at wordpress.org
Wed Oct 9 22:09:46 UTC 2024
#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: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62193#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list