WordPress/wp-includes/rest-api/endpoints
hellofromTonya 71977c215d Widgets: Rename and soft deprecate retrieve_widgets().
The original name `retrieve_widgets()` was unclear as it suggested it was a getter, i.e. getting the widgets. This function does more than get: finds orphaned widgets, assigns them to the inactive sidebar, and updates the database.

The new name is `sync_registered_widgets()` which better represents what happens when this function is invoked.

The original `retrieve_widgets()` function is soft deprecated to avoid unnecessary code churn downstream for developers that support more than the latest version of WordPress.

Follow-up to [18630].

Props zieladam, timothyblynjacobs, andraganescu, hellofromTonya.
See #53811.
Built from https://develop.svn.wordpress.org/trunk@51705


git-svn-id: http://core.svn.wordpress.org/trunk@51311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-31 19:58:58 +00:00
..
class-wp-rest-application-passwords-controller.php Application Passwords: Improve various user-facing and developer-facing terminology. 2021-07-19 21:14:57 +00:00
class-wp-rest-attachments-controller.php
class-wp-rest-autosaves-controller.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
class-wp-rest-block-directory-controller.php REST API: Correct the description for the last_updated property in the block-directory endpoint. 2021-08-26 19:34:56 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php Coding Standards: Apply some minor alignment fixes. 2021-08-30 14:09:58 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
class-wp-rest-pattern-directory-controller.php
class-wp-rest-plugins-controller.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
class-wp-rest-revisions-controller.php
class-wp-rest-search-controller.php Docs: Further type corrections and improvements for various docblocks. 2021-07-01 22:02:57 +00:00
class-wp-rest-settings-controller.php
class-wp-rest-sidebars-controller.php Widgets: Rename and soft deprecate retrieve_widgets(). 2021-08-31 19:58:58 +00:00
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-templates-controller.php REST API: Add the $request parameter to methods checking permissions. 2021-07-06 15:43:00 +00:00
class-wp-rest-terms-controller.php
class-wp-rest-themes-controller.php
class-wp-rest-users-controller.php
class-wp-rest-widget-types-controller.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
class-wp-rest-widgets-controller.php Widgets: Rename and soft deprecate retrieve_widgets(). 2021-08-31 19:58:58 +00:00