Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I moved my site from hosting provider A and domain name B to hosting provider X and domain name Y. I had Wordfence in the old site. I just installed it in the new site and ran a scan. Wordfence found the following change in wp-admin/includes/upgrade.php :

279    @wp_mail($email, __('New WordPress Site'), $message); 


279    //@wp_mail($email, __('New WordPress Site'), $message);

Anybody knows is this indicates some hack or security issue?

share|improve this question

2 Answers 2

I just came across this also. According to WordFence, "It looks like someone disabled email sending in that file. It doesn’t look malicious."

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.