You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for a widget to be safely exposed in the REST API (that is, for unauthenticated requests), the widget needs permission callbacks to indicate whether or not fields in the instance are public or not. A schema has been proposed for being added to WP_Widget in #35574. Since old single widgets do not utilize WP_Widget they would not have a schema available, and since they are suggested to be deprecated in #35656, I suggest that they should be inherently not be exposed via the REST API.
The text was updated successfully, but these errors were encountered:
In order for a widget to be safely exposed in the REST API (that is, for unauthenticated requests), the widget needs permission callbacks to indicate whether or not fields in the instance are public or not. A schema has been proposed for being added to
WP_Widget
in #35574. Since old single widgets do not utilizeWP_Widget
they would not have a schema available, and since they are suggested to be deprecated in #35656, I suggest that they should be inherently not be exposed via the REST API.The text was updated successfully, but these errors were encountered: