Здравствуйте.
Добавлял новый функционал на сайт через файл темы functions.php
Решил проверить. Включил
define('WP_DEBUG', true);
и получил вот такое уведомление:
Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /public_html/wp-includes/functions.php on line 4773 Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /public_html/wp-includes/functions.php on line 4773
В сети нашёл такой же вопрос, но пока он без ответа:
https://stackoverflow.com/questions/56471327/home-...
Подскажите, что это может быть?