mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-14 04:01:54 +01:00
222541d7c3
Adds new hooks (rest_save_sidebar, rest_delete_widget, rest_after_save_widget) to the widgets REST API and uses them to delete the fresh_site option when updating widgets via the REST API. This ensures that starter content isn't loaded in the Customizer after a user makes changes. Fixes #53317. Props kevin940726, garrett-eclipse, andraganescu, hellofromtonya. Built from https://develop.svn.wordpress.org/trunk@51068 git-svn-id: http://core.svn.wordpress.org/trunk@50677 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-rest-application-passwords-controller.php | ||
class-wp-rest-attachments-controller.php | ||
class-wp-rest-autosaves-controller.php | ||
class-wp-rest-block-directory-controller.php | ||
class-wp-rest-block-renderer-controller.php | ||
class-wp-rest-block-types-controller.php | ||
class-wp-rest-blocks-controller.php | ||
class-wp-rest-comments-controller.php | ||
class-wp-rest-controller.php | ||
class-wp-rest-pattern-directory-controller.php | ||
class-wp-rest-plugins-controller.php | ||
class-wp-rest-post-statuses-controller.php | ||
class-wp-rest-post-types-controller.php | ||
class-wp-rest-posts-controller.php | ||
class-wp-rest-revisions-controller.php | ||
class-wp-rest-search-controller.php | ||
class-wp-rest-settings-controller.php | ||
class-wp-rest-sidebars-controller.php | ||
class-wp-rest-site-health-controller.php | ||
class-wp-rest-taxonomies-controller.php | ||
class-wp-rest-templates-controller.php | ||
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 | ||
class-wp-rest-widgets-controller.php |