Problem with include within “wp_enqueue_scripts”
-
Because of an faulty include within the “wp_enqueue_scripts” action, all the other enqued meta-tags and scripts get added to the body of the site.
We had problems with our yoast-seo plugin because of this.
I identified the problematic line of code and added a manual fix to this.
Problematic Code in /class-plugin.php line 416.
I removed the include from the “wp_enqueue_scripts” block and added it right below, but using the “wp_body_open” action and everything seems to work fine again.
I would be happy if you could look into this and maybe patch the problem in the next version, so I don’t have to manually add the fix on every future update.
- You must be logged in to reply to this topic.