Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove jQuery in the frontend for Twenty Twelve. #1683

Open
wants to merge 5 commits into
base: trunk
Choose a base branch
from
Prev Previous commit
Next Next commit
Update script version.
  • Loading branch information
felixarntz committed Feb 17, 2022
commit 36962d0488a46c2a5dfe3eb98553fbe296dbcacd
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentytwelve/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function twentytwelve_scripts_styles() {
}

// Adds JavaScript for handling the navigation menu hide-and-show behavior.
wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20210916', true );
wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20220217', true );

$font_url = twentytwelve_get_font_url();
if ( ! empty( $font_url ) ) {
Expand Down