• Resolved alexzeerf

    (@alexzeerf)


    Notice: register_rest_route was called incorrectly. The REST API route definition for api-bearer-auth/v1/login 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/html-dev/wp-includes/functions.php on line 5225

    Notice: register_rest_route was called incorrectly. The REST API route definition for api-bearer-auth/v1/tokens/refresh 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/html-dev/wp-includes/functions.php on line 5225

    Please add this line

    'permission_callback' => '__return_true',

    to register_rest_route in function rest_api_init_action()

Viewing 1 replies (of 1 total)
  • Plugin Author michielve

    (@michielve)

    Hi,
    Thanks for letting me know, I released a new version (20200916) with the fix.
    Best wishes,
    Michiel

Viewing 1 replies (of 1 total)
  • The topic ‘missing the required permission_callback argument’ is closed to new replies.