Closed simplenotezy closed 4 years ago
Related to other plugin: https://github.com/Tmeister/wp-api-jwt-auth/issues/207
Hi @simplenotezy , this permission_callback is implemented in master branch, but it's not in the WP Plugin repo yet. Gonna push an update soon
Alright, now it's pushed to the WP plugin repo. You might want to update it :) Thanks for your time reporting this
Since latest version 5.5 I am now getting error:
{"type":1024,"message":"register_rest_route was called <strong>incorrectly<\/strong>. The REST API route definition for <code>jwt-auth\/v1\/token<\/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.)","file":"\/Users\/me\/Projects\/project\/wp-includes\/functions.php","line":5225}