#53908 closed defect (bug) (invalid)
REST API changes
Reported by: | avcsdigital | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.7.2 |
Component: | REST API | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Notice: register_rest_route was called incorrectly. The REST API route definition for yoast/v1/get_head 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 /home/u951190705/domains/audiovisualcs.com/public_html/wp-includes/functions.php on line 5535
Change History (2)
Note: See
TracTickets for help on using
tickets.
Welcome to WordPress Trac and thanks for your report!
As you might have seen from the "yoast/v1/get_head" part, this error message is caused by the Yoast SEO plugin and not WordPress itself (even though the file reference might indicate otherwise).
Generally speaking, issues like that should be reported to the plugin causing the issue and not here on Trac, which is where we track issues with WordPress itself.
This specific issue was actually fixed in Yoast SEO already last year (see https://github.com/Yoast/wordpress-seo/pull/15709), so if you update your plugins you should be good to go.