[wp-trac] [WordPress Trac] #55655: 6.0: Throw a _doing_it_wrong in register_block_pattern if not registered on `init` hook. (was: Throw a _doing_it_wrong in register_block_pattern if not registered on `init` hook.)

WordPress Trac noreply at wordpress.org
Mon May 2 15:36:11 UTC 2022


#55655: 6.0: Throw a _doing_it_wrong in register_block_pattern if not registered on
`init` hook.
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  (none)
  johnstonphilip         |
     Type:  defect       |      Status:  new
  (bug)                  |
 Priority:  normal       |   Milestone:  6.0
Component:  Editor       |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  administration, rest-api, coding-
                         |  standards
-------------------------+-------------------------------------------------
Changes (by costdev):

 * component:  General => Editor
 * milestone:  Awaiting Review => 6.0


Comment:

 Thanks @johnstonphilip!

 Milestoning for 6.0 for visibility and because the need for this was
 introduced during the 6.0 cycle (i.e. I'm considering it a regression
 without the `_doing_it_wrong()`).

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


More information about the wp-trac mailing list