[wp-trac] [WordPress Trac] #62193: Rename template registration API functions removing the wp_ prefix
WordPress Trac
noreply at wordpress.org
Sat Sep 13 08:56:39 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 phatakraj):
Consistency in naming not only improves readability but also lowers the
learning curve for developers working with the block API. Removing the
`wp_ prefix` brings these functions in line with modern WordPress
standards, and the symmetry with functions like `register_block_type()`
and `register_block_style()` makes the API feel much more deliberate and
polished. This kind of attention to detail goes a long way in shaping a
more intuitive developer experience. Great work!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62193#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list