I’m seeing this Notice in my Dashboard:
Notice: register_rest_route was called incorrectly. The REST API route definition for 2fa/v1/test-basic-authorization-header 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 /var/www/wp-includes/functions.php on line 5225
Looks like it was introduced with the recent WP core 5.5 update:
This message was added in version 5.5.0.
- The topic ‘Notice: register_rest_route was called incorrectly.’ is closed to new replies.