mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 04:20:01 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51248 602fd350-edb4-49c9-b593-d223f7449a82