Closed mslinnea closed 3 years ago
WordPress 5.5+ throws a doing_it_wrong notice when a route is registered without a permission_callback.
https://make.wordpress.org/core/2020/07/22/rest-api-changes-in-wordpress-5-5/
Since these endpoints are intended to be public, the __return_true callback can be used.
__return_true
WordPress 5.5+ throws a doing_it_wrong notice when a route is registered without a permission_callback.
https://make.wordpress.org/core/2020/07/22/rest-api-changes-in-wordpress-5-5/
Since these endpoints are intended to be public, the
__return_true
callback can be used.