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
WordPress 5.5 made the permission_callback required, and it now issues a warning every time the argument is missing.
The REST API route definition for myplugin/v1/author is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback.
WordPress 5.5 made the
permission_callback
required, and it now issues a warning every time the argument is missing.More on this in the documentation: https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#permissions-callback
The text was updated successfully, but these errors were encountered: