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

WordPress Trac noreply at wordpress.org
Tue May 3 16:11:10 UTC 2022


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

 * milestone:  6.0 => 6.1


Comment:

 6.0 RC1 is minutes away. Given there are BC concerns about making `init` a
 hard requirement, moving this to 6.1. It could be considered for a minor
 too.

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


More information about the wp-trac mailing list