Support » Fixing WordPress » wp_head() creates invalid markup

  • I’ve been searching through every file in the entire system and cannot find where this line is being generated:
    <script language='javascript' src=''></script>
    Obviously, the language attr. has to go, and the ampersand needs to be encoded… But where the hell is it?
    The line is created by wp_head(), but after that I’m up shyte creek.
    Thanks for any help.
    (Also, why on earth is the admin section full of language="javascript". That’s not XHTML!)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    What version of WP are you using ? In WP 1.2 Mingus, I see no javascript anywhere in the admin section…
    Are you using WP locally ? I presume so.
    Have you activated a plugin ? Try to dissable them and see if this javascript appears again.
    Byt he way :

    the ampersand needs to be encoded

    It’s already encoded ! You have to use & instead of & in you URI.

    This line is being generated by Zone Alarm. Turn off Zone Alarm Cookie Control, Ad Blocking and Mobile Code Control. Also Web Filtering must be disabled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_head() creates invalid markup’ is closed to new replies.