-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
More on this in the documentation: https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#permissions-callback
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working