[wp-trac] [WordPress Trac] #53534: Widgets REST API: Non-multi widgets don't appear in wp_inactive_widgets
WordPress Trac
noreply at wordpress.org
Mon Jun 28 04:33:50 UTC 2021
#53534: Widgets REST API: Non-multi widgets don't appear in wp_inactive_widgets
--------------------------+-------------------------
Reporter: noisysocks | Owner: noisysocks
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-------------------------
Changes (by noisysocks):
* owner: (none) => noisysocks
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"51248" 51248]:
{{{
#!CommitTicketReference repository="" revision="51248"
Widgets REST API: Fix non-multi widgets not appearing in
wp_inactive_widgets
Registered widgets that do not extend WP_Widget should appear in the
wp_inactive_widgets sidebar by default. Having the widgets REST API call
retrieve_widgets() before serving any request ensures that this will
happen.
This is a similar fix to [51235].
Fixes #53534.
Props zieladam, timothyblynjacobs.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53534#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list