Title: edit infected posts
Last modified: December 6, 2020

---

# edit infected posts

 *  Resolved [lcslouis](https://wordpress.org/support/users/lcslouis/)
 * (@lcslouis)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-infected-posts/)
 * some of my posts on a site has been compromised with script text being added 
   to the end of each post.
 * The edit button just refreshes the page instead of opening post for edit.
 * can this be fixed?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-infected-posts/#post-13753935)
 * Hi [@lcslouis](https://wordpress.org/support/users/lcslouis/) and thanks for 
   seeking our assistance with this issue.
 * It sounds like you may need to clean the site or at least follow the checklist
   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)
 * Make sure and get all your plugins and themes updated and update WordPress core
   too. If you are on an older branch (WordPress 4.x etc) because you wanted to 
   wait before installing the latest version because of Gutenberg or a custom theme
   compatibility you still need the latest update in that version. Those can be 
   found here:
    [https://wordpress.org/download/releases/](https://wordpress.org/download/releases/)
   WordPress sometimes patches their older releases if they find a vulnerability
   so make sure to update your version if needed. We, of course, recommend that 
   you update to the latest version.
 * **As a rule, any time I think someone’s site has been compromised I stress that
   passwords for their hosting control panel, FTP, WordPress admin users, and database
   are updated. Make sure to do this also.**
 * Additionally you might find the WordPress Malware Removal section in [our free Learning Center](https://wordfence.com/learn/)
   helpful.
 * If you are unable to clean this on your own there are paid services that will
   do it for you. Wordfence offers one and there are others. Regardless if you choose
   to clean it yourself or let someone else do so, we recommend that you make a 
   full backup of the site beforehand.
 * Let me know how you get on!
 * Thanks,
 * Peter.
 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/edit-infected-posts/#post-13802425)
 * Hi [@lcslouis](https://wordpress.org/support/users/lcslouis/), I hope the instructions
   served you well in cleaning your site.
 * If you have any further Wordfence questions in future, please start a new topic
   and we’ll be glad to help!
 * Peter.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘edit infected posts’ 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/)

## Tags

 * [edit-post](https://wordpress.org/support/topic-tag/edit-post/)

 * 2 replies
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/edit-infected-posts/#post-13802425)
 * Status: resolved