[wp-trac] [WordPress Trac] #53757: Widget editor calls get_block_categories() with incorrect arg type

WordPress Trac noreply at wordpress.org
Sat Jul 24 08:58:36 UTC 2021


#53757: Widget editor calls get_block_categories() with incorrect arg type
--------------------------+---------------------
 Reporter:  Enchiridion   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8.1
Component:  Widgets       |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Changes (by audrasjb):

 * keywords:   => needs-patch


Comment:

 Good catch. It looks like we should replace `'widgets-customizer'` and
 `'widgets-editor'` with `$block_editor_context` variable on both files.

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


More information about the wp-trac mailing list