jQuery – missing dependency
-
Hey,
In the file /modules/valuation/core.php you include a Script.
But you don’t define jQuery as dependency.
See https://developer.wordpress.org/reference/functions/wp_register_script/wp_register_script('FF-valuation-chosen-' . $theme, plugins_url('/assets/js/' . $theme . '/chosen.jquery.min.js', __FILE__), '', '1.0.1', true);Should be:
wp_register_script('FF-valuation-chosen-' . $theme, plugins_url('/assets/js/' . $theme . '/chosen.jquery.min.js', __FILE__), array ('jquery'), '1.0.1', true);I have to fix it on every update.
The topic ‘jQuery – missing dependency’ is closed to new replies.