Skip to content

Commit 903f028

Browse files
committed
Enqueue jQuery Validation in footer by default.
1 parent 692bc1e commit 903f028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js-comment-form-validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function load_textdomain() {
5050
* @since 1.0.0
5151
*/
5252
function enqueue_scripts() {
53-
wp_register_script( 'jquery-validation', plugin_dir_url( __FILE__ ) . 'js/jquery.validate.min.js', [ 'jquery' ], '1.16.0' );
53+
wp_register_script( 'jquery-validation', plugin_dir_url( __FILE__ ) . 'js/jquery.validate.min.js', [ 'jquery' ], '1.16.0', true );
5454

5555
$suffix = SCRIPT_DEBUG ? '' : '.min';
5656

0 commit comments

Comments
 (0)