register_rest_route set incorrectly error
-
on any post editing url in the admin interface, this error pops up before the content:
` Notice: Function register_rest_route was called incorrectly. The REST API route definition for antideo-email-validator/v1/disposable_emails/(?P[0-9-]+) is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /www/wp/wp-includes/functions.php on line 5831 Notice: Function register_rest_route was called incorrectly. The REST API route definition for antideo-email-validator/v1/disposable_emails is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /www/wp/wp-includes/functions.php on line 5831
`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘register_rest_route set incorrectly error’ is closed to new replies.