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

WordPress Trac noreply at wordpress.org
Tue Oct 8 22:49:31 UTC 2024


#62193: Rename template registration API functions removing the wp_ prefix
--------------------------+-----------------------------
 Reporter:  aljullu       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  template      |
--------------------------+-----------------------------
 As discussed in https://github.com/WordPress/gutenberg/pull/61577, we want
 to remove the `wp_` prefix from `wp_register_block_template()` and
 `wp_unregister_block_template()` functions to keep them consistent with
 similar functions like `register_block_type()`, `register_block_pattern()`
 and `register_block_style()`.

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


More information about the wp-trac mailing list