Support » Plugin: Event Tickets » Solve log-warnings by adding permission_callback to register_rest_route() call

  • Hi,

    Event Tickets 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 1 replies (of 1 total)
  • Plugin Support bskousen3

    (@bskousen3)

    Hello Hans,

    Thanks for the feedback. I will pass this along to the team.

    Thanks,
    Brendan

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.