Skip to content

Commit a3ef6d2

Browse files
authored
Remove empty array from html5 script registration
1 parent 7ec4dfc commit a3ef6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-content/themes/twentysixteen/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function twentysixteen_scripts() {
407407
wp_register_style( 'twentysixteen-ie', false, array( 'twentysixteen-style' ) );
408408
wp_register_style( 'twentysixteen-ie8', false, array( 'twentysixteen-style' ) );
409409
wp_register_style( 'twentysixteen-ie7', false, array( 'twentysixteen-style' ) );
410-
wp_register_script( 'twentysixteen-html5', false, array() );
410+
wp_register_script( 'twentysixteen-html5', false );
411411
wp_register_script( 'twentysixteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20230526', array( 'in_footer' => true ) );
412412

413413
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {

0 commit comments

Comments
 (0)