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.phpThere 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)
Viewing 1 replies (of 1 total)
- The topic ‘Solve log-warnings by adding permission_callback to register_rest_route() call’ is closed to new replies.