• Resolved Daniel

    (@dathix)


    Since WordPress 5.5.0 there is the following notice caused by this plugin.

    Notice: register_rest_route was called incorrectly. The REST API route definition for whm/v3/themesettings is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback.

    The fix is really simple and should be included in the next update to remove this notice. You just need to add 'permission_callback' => '__return_true' to both register_rest_route calls inside class-template-designer.php. Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Julian

    (@juliangk)

    Hello Daniel,

    thank you very much for the information. We will include the fix.

    Best regards
    Julian

Viewing 1 replies (of 1 total)

The topic ‘Notice: Require permission_callback’ is closed to new replies.