[wp-trac] [WordPress Trac] #53612: Widgets not loaded after deleting multiple widgets at once
WordPress Trac
noreply at wordpress.org
Wed Jul 7 19:34:47 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: needs-testing has-patch has-unit- | Focuses: rest-api
tests |
-------------------------------------------------+-------------------------
Changes (by TimothyBlynJacobs):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"51377" 51377]:
{{{
#!CommitTicketReference repository="" revision="51377"
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.
Fixes #53612.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53612#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list