Support » Fixing WordPress » w3c validator error, jquery function

  • Hi,

    I have 4 errors when i validate my site, and i dont know how fix it.
    These errors are from initJQuery() function. Its generated in wp_head(). This function is not necessary to me because i already added jquery.

    i used this:

    wp_deregister_script('jquery');
    remove_action('wp_head', 'jquery');

    but still this function is generated – initJQuery()

    how remove it from wp_head?

Viewing 2 replies - 1 through 2 (of 2 total)
  • AFAIK, WP doesn’t have initJQuery() method in it.
    And there’s no registered action called ‘jquery’ on wp_head().
    Also jquery is not loaded by default unless it’s load by the theme.

    You may as well check your theme if it loads the iniJquery() method.

    This is not loads by the theme, because i made it from zero.
    Maybe its generated by some plugin. I must check it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘w3c validator error, jquery function’ is closed to new replies.