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

Incorrect path for skip-link-focus-fix.js and navigation.js #11

Closed
dloewen opened this issue Aug 27, 2014 · 0 comments
Closed

Incorrect path for skip-link-focus-fix.js and navigation.js #11

dloewen opened this issue Aug 27, 2014 · 0 comments

Comments

@dloewen
Copy link

dloewen commented Aug 27, 2014

In lib/theme-functions.php, lines 87 and 89, these files are missing a slash after the get_template_directory_uri() function, so they give a 404 when visiting the website:

  • assets/js/vendor/skip-link-focus-fix.js
  • assets/js/vendor/navigation.js

Suggested fix:

    wp_enqueue_script( '_mbbasetheme-navigation', get_template_directory_uri() . '/assets/js/vendor/navigation.js', array(), '20120206', true );

    wp_enqueue_script( '_mbbasetheme-skip-link-focus-fix', get_template_directory_uri() . '/assets/js/vendor/skip-link-focus-fix.js', array(), '20130115', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant