Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected register_rest_route messages #2

Closed
bobbingwide opened this issue Oct 11, 2020 · 1 comment
Closed

Unexpected register_rest_route messages #2

bobbingwide opened this issue Oct 11, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Oct 11, 2020

<b>Notice</b>:  register_rest_route was called <strong>incorrectly</strong>. 
The REST API route definition for <code>udemy/v1/login</code> is missing the required <code>permission_callback</code> argument. 
For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. 
Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. 
(This message was added in version 5.5.0.) in <b>C:\apache\htdocs\wp56\wp-includes\functions.php</b> on line <b>5225</b><br />

plus 4 or 5 more.

@bobbingwide bobbingwide added the bug Something isn't working label Oct 11, 2020
@bobbingwide bobbingwide self-assigned this Oct 11, 2020
@bobbingwide
Copy link
Owner Author

These messages were coming from some mu-plugin files that I'd put into the local environment after a talk at WordPress Brighton back in May. Nothing to do with Gutenberg.

@bobbingwide bobbingwide changed the title Unexpected register_rest_route messages when Full site editing enabled - Gutenberg 9.1.1 Unexpected register_rest_route messages Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant