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

WordPress Trac noreply at wordpress.org
Fri Jul 9 00:59:31 UTC 2021


#53612: Widgets not loaded after deleting multiple widgets at once
-------------------------------------------------+-------------------------
 Reporter:  walbo                                |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.8
Component:  Widgets                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-      |     Focuses:  rest-api
  major commit dev-reviewed                      |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51385" 51385]:
 {{{
 #!CommitTicketReference repository="" revision="51385"
 REST API: Ensure a sidebar's widgets property is a list.

 When a widget is removed from a sidebar, if it was removed from the middle
 of the list, the widgets property would become an object with numeric
 keys.

 The sidebars controller now forces the widgets property to be a list.

 Props walbo, timothyblynjacobs.
 Merges [51377] to the 5.8 branch.
 Fixes #53612.
 }}}

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


More information about the wp-trac mailing list