register_rest_route called incorrectly notice
-
EmbedPress is creating the following Notice when editing pages
Notice: register_rest_route was called incorrectly. The REST API route definition forembedpress/v1/oembed/(?P<provider>[a-zA-Z0-9\-]+)is missing the requiredpermission_callbackargument. For REST API routes that are intended to be public, use__return_trueas the permission callback.This notice was added in WordPress 5.5: https://make.wordpress.org/core/2020/07/22/rest-api-changes-in-wordpress-5-5/ (search for permission_callback on that page for more information and how to fix). This message only shows if PHP Notice is turned on.
The topic ‘register_rest_route called incorrectly notice’ is closed to new replies.