Conversation
supportHi, I just installed your plugin and it’s awesome. But I needed to fix something before using it since it was throwing an error. In the file auto-image-alt.php, there is this line: wp_enqueue_script( ‘auto_image_alt’, plugins_url(‘js/auto_image_alt.js’, __FILE__ ), array(), ”, true); To make it work, I changed array() to Array(‘jquery’) since it depends on jQuery to work. Here is the corrected line of code: wp_enqueue_script( ‘auto_image_alt’, plugins_url(‘js/auto_image_alt.js’, __FILE__ ), Array(‘jquery’), ”, true); Thanks again for your work! This topic was modified 8 years, 9 months ago by janvitos .
No comments were stored for this source.