register_rest_route permission_callback argument
-
I have some notices in my backend showing errors like this one:
The REST API route definition for klaviyo/v1/version is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback.
Seems that WP version 5.5 requires that new argument on rest routes definitions.
https://core.trac.www.ads-software.com/browser/tags/5.5/src/wp-includes/rest-api.php#L33
Would you mind to fix that for us?
Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘register_rest_route permission_callback argument’ is closed to new replies.