[wp-trac] [WordPress Trac] #53612: Widgets not loaded after deleting multiple widgets at once

WordPress Trac noreply at wordpress.org
Tue Jul 6 21:47:45 UTC 2021


#53612: Widgets not loaded after deleting multiple widgets at once
--------------------------+------------------------------
 Reporter:  walbo         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by walbo):

 * focuses:   => rest-api


Comment:

 Before deleting the sidebars rest-api return an array:
 {{{
 widgets: ["block-2", "block-3", "block-4", "block-5", "block-6"]
 }}}

 After save its a object:
 {{{
 widgets: {2: "block-4", 3: "block-5", 4: "block-6"}
 }}}

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


More information about the wp-trac mailing list