Title: Upgrade.php Modified
Last modified: August 24, 2016

---

# Upgrade.php Modified

 *  [lacoder](https://wordpress.org/support/users/lacoder/)
 * (@lacoder)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/upgradephp-modified/)
 * Hi,
 * I have an alert saying that upgrade.php has been modified but all I can see is
   that one line has been commented out.
 * It says its a critical threat but I don’t seem to be able to sort it out 🙁
 * I tried clicking on the “Restore the original version of this file.” and also
   the “Bulk Fix” options but they don’t seem to actually do anything and the warning
   remains. I have tried running the scan again and the same thing happens.
 * I even tried downloading the fresh copy of wordpress and manually uploading a
   copy of the file to the server to replace it but I was denied access to overwriting
   the file??
 * Thanks
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 1 replies (of 1 total)

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/upgradephp-modified/#post-5999056)
 * Hi,
 * If that comment is the only difference you can find, you could edit the file 
   and remove the line of code manually. More tips available here…
 * [https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/](https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/)
 * -Brian

Viewing 1 replies (of 1 total)

The topic ‘Upgrade.php Modified’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/upgradephp-modified/#post-5999056)
 * Status: not resolved