• Resolved Hans Schuijff

    (@hanswitteprins)


    Hi,

    TEC is causing a warning in the log since it doesn’t pass a permission_callback in the register_rest_route() call.

    The file causing it is:
    /common/src/tribe/support.php

    There you’ll find the call on line: 358

    If you don’t want to restrict, just add the following item to the array:
    'permission_callback' => '__return_true',

    regards, Hans

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Solve log-warnings by adding permission_callback to register_rest_route() call’ is closed to new replies.