Title: removing code-execution.php
Last modified: December 16, 2022

---

# removing code-execution.php

 *  Resolved [spinhead](https://wordpress.org/support/users/spinhead/)
 * (@spinhead)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/removing-code-execution-php/)
 * is it necessary to leave the file code-execution.php after the .htaccess file
   has been written to prevent further writing?
 * tools like wp doctor flag PHP in the uploads folder as a warning.

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

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/removing-code-execution-php/#post-16298403)
 * Hi [@spinhead](https://wordpress.org/support/users/spinhead/), Originally I thought
   it would be more efficient to just leave it there, but I understand that it’s
   annoying to get such false positives, and removing it seems a bit cleaner anyway.
   So I’ve created a branch which removes it after the test:
 * [https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/clean-up-code-execution-test-file-after-test](https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/clean-up-code-execution-test-file-after-test)
 * You can already remove it without issues, but it would get recreated on when 
   the test runs again. The above branch makes sure it’s removed afterwards.
 * Let me know if this works for you! It will get tested, and merged in about two
   weeks I expect.
 *  Thread Starter [spinhead](https://wordpress.org/support/users/spinhead/)
 * (@spinhead)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/removing-code-execution-php/#post-16298885)
 * makes sense, yes. thanks!

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

The topic ‘removing code-execution.php’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 2 replies
 * 2 participants
 * Last reply from: [spinhead](https://wordpress.org/support/users/spinhead/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/removing-code-execution-php/#post-16298885)
 * Status: resolved