Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with rest api comment count() endpoint #497

Open
bologer opened this issue Nov 21, 2020 · 0 comments
Open

Issue with rest api comment count() endpoint #497

bologer opened this issue Nov 21, 2020 · 0 comments

Comments

@bologer
Copy link
Owner

bologer commented Nov 21, 2020

Example:

Notice: Функция register_rest_route вызвана неправильно. В определении маршрута REST API для anycomment/v1/comments/count отсутствует обязательный аргумент permission_callback. Для общедоступных маршрутов REST API используйте __return_true для разрешения обратного вызова. Дополнительную информацию можно найти на странице «Отладка в WordPress». (Это сообщение было добавлено в версии 5.5.0.) in /var/www/user/data/www/site.ru/wp-includes/functions.php on line 5229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant