• This plugin is currently throwing a notice as of WP version 5.5.0

    When the plugin is activated, this notice is displayed:

    Notice</b>: register_rest_route was called incorrectly. The REST API route definition for wf/v1/wf-site-published 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 <b>/wp-includes/functions.php</b> on line <b>5311</b>

    The missing permissions callback argument appears to happen in includes/public/class-webflow-pages-public.php

    Adding ‘permission_callback’ => ‘__return_true’, does resolve the notice, but I can’t be sure that this route is actually meant to be public or not.

  • The topic ‘Register Rest Route definition is invalidas of WP5.5.0’ is closed to new replies.