WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Search the Trac for these kinds of core changes:

share|improve this answer

Same. It happens when you do a move. All of mine came back with that pick up along with edits to the version.php file and a change in DNS settings. You are ok.

share|improve this answer

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.