Core Files Update Cleanup

plugin banner

This plugin deletes the unnecessary license.txt, readme.html and wp-config-sample.php files after a core update.

Author:Lawrie Malen (profile at wordpress.org)
WordPress version required:3.6.0
WordPress version tested:6.4.2
Plugin version:1.1.0
Added to WordPress repository:14-01-2024
Last updated:23-01-2024
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:411
Active installs:30+
plugin download
Click to start download

Whenever WordPress performs a core update, it automatically pulls down the following files onto the root:

  • license.txt
  • readme.html
  • wp-config-sample.php

These files aren’t an inherent security risk by themselves; however they are uneccessary clutter on the root of your site (why would you want a wp-config-sample.php file on your production website?!); and it’s just another easy-to-read vector confirming that you have a WordPress site for script-kiddies to scrape and attack.

Simply install this plugin and it will clean up those files every time you perform a core WordPress update.


FAQ
ChangeLog