[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 23:55:19 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
-------------------------------------+-------------------------------------

Comment (by johnstonphilip):

 @hellofromTonya I don't believe there are any BC concerns because this is
 already broken on 6.0. The _doing_it_wrong will at least offer an
 explanation as to why it is broken.

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


More information about the wp-trac mailing list