This plugin automatically removes some files in the root folder, like wp-config-sample.php, readme and license files, when WordPress is manually or au …
When WordPress is updated, it re-installs wp-config-sample.php, readme files, and license files even though you may have deleted them before. This plugin automatically removes these files when WordPress is manually or automatically updated. It also removes these files when activating the plugin for the first time. Removing these files is not mandatory, but you may want to if you don’t want them to expose your WordPress version or if you just like to keep things neat and clean.
Files that are removed:
You may not want to install this plugin if you’re using a plugin or service to scans your site to verify checksums on the core files. When the removed files are missing it might result in warnings.
wp-core-update-cleaner
directory to the /wp-content/plugins/
directory.We found ourselves manually deleting wp-config-sample.php, readme.html, and license.txt every time we updated a WordPress site. If you’re maintaining multiple WordPress sites like us, this can get tedious. So instead, we developed this plugin to take care of deleting these files for us.
You don’t have to delete these files if you want to keep them for some reason. However, the readme file contains the version number of the WordPress version you’re running. This may be used by bots or evil people trying to hurt your site by taking advantage of security exploits in your version if you’ve not installed security patches. Also, there’s no reason to have wp-config-sample.php and the license files just laying around.