[Plugin: Contact Form 7] JQuery is included in a wrong way
please fix your plugin to include correctly jquery as the documentation states:
Use the wp_enqueue_scripts action to call this function, or admin_enqueue_scripts to call it on the admin side. Calling it outside of an action can lead to troubles. See #11526 for details.
You are not complying with this rule, for example from Contact Form 7 v2.4.4:
admin.php – line 146
add_action( ‘admin_print_scripts’, ‘wpcf7_admin_enqueue_scripts’ );
add_action( ‘admin_enqueue_scripts’, ‘wpcf7_admin_enqueue_scripts’ );
controller.php – line 246
add_action( ‘wp_print_scripts’, ‘wpcf7_enqueue_scripts’ );
add_action( ‘wp_enqueue_scripts’, ‘wpcf7_enqueue_scripts’ );
otherwise you screw _all_ plugins that use jquery, mine included and people bother me.
- The topic ‘[Plugin: Contact Form 7] JQuery is included in a wrong way’ is closed to new replies.