You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice: register_rest_route was called incorrectly. The REST API route definition for block-metadata/v1/data/(?P\d+) 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/web/wp/wp-includes/functions.php on line 5777
Notice: register_rest_route was called incorrectly. The REST API route definition for block-metadata/v1/metadata/(?P\d+) 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/web/wp/wp-includes/functions.php on line 5777
After WP 5.5 every register_rest_route is required to have a permission_callback.
After upgrading WP to 5.9 I get an error:
After WP 5.5 every
register_rest_route
is required to have apermission_callback
.Can we add it in
RESTHooks.php
? 🙏I can prepare a PR if needed.
The text was updated successfully, but these errors were encountered: