Upon installing Query Monitor and navigating through our website, Query monitor generated the following “Doing it Wrong” message:
Function wp_enqueue_script was called incorrectly.
Details: https://prnt.sc/18TjTAg390ys
The above happens with the following code snippet activated:
Details: https://prnt.sc/kKUdjb9f1JSP
When we deactivate the code snippet, the “Doing it Wrong” message disappears, but our dropdown flags shift upward from the country name next to them.
Can you share more about this? Fix required?
Not a biggie, no issues at our end.
Our environment: PHP 8.3.0, WP 6.3.1
Thank you.