Title: Core Files Update Cleanup
Author: indextwo
Published: <strong>January 14, 2024</strong>
Last modified: January 23, 2024

---

Search plugins

![](https://ps.w.org/core-files-update-cleanup/assets/banner-772x250.png?rev=3021541)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/core-files-update-cleanup/assets/icon-256x256.png?rev=3021541)

# Core Files Update Cleanup

 By [indextwo](https://profiles.wordpress.org/indextwo/)

[Download](https://downloads.wordpress.org/plugin/core-files-update-cleanup.1.1.0.zip)

 * [Details](https://test.wordpress.org/plugins/core-files-update-cleanup/#description)
 * [Reviews](https://test.wordpress.org/plugins/core-files-update-cleanup/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/core-files-update-cleanup/#installation)
 * [Development](https://test.wordpress.org/plugins/core-files-update-cleanup/#developers)

 [Support](https://wordpress.org/support/plugin/core-files-update-cleanup/)

## Description

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.

## Installation

Upload the Core Files Update Cleanup plugin to your website & activate it as normal.
That’s it! The plugin will only fire whenever a core WordPress update is performed.

Make sure to back up your installation before making any significant changes, and
always test a plugin’s performance before installing anything on a live production
environment!

## FAQ

### Should I back up my site first?

You should always make a backup of your site before any major updates as a matter
of course. This plugin will _only_ delete the files specified above; _only_ after
a core update; and _only_ attempt to do so if these files actually exist. But you
should always err on the side of safety. Always back up!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Core Files Update Cleanup” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ indextwo ](https://profiles.wordpress.org/indextwo/)

[Translate “Core Files Update Cleanup” into your language.](https://translate.wordpress.org/projects/wp-plugins/core-files-update-cleanup)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/core-files-update-cleanup/),
check out the [SVN repository](https://plugins.svn.wordpress.org/core-files-update-cleanup/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/core-files-update-cleanup/)
by [RSS](https://plugins.trac.wordpress.org/log/core-files-update-cleanup/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

_Release Date – 19 January 2024_

 * Will now automatically check for `license.txt`, `readme.html` and `wp-config-
   sample.php` files when plugin is first activated (not just on the next update)
   and remove them if found.

#### 1.0.0

_Release Date – 14 January 2024_

 * Initial release

## Meta

 *  Version **1.1.0**
 *  Last updated **2 years ago**
 *  Active installations **20+**
 *  WordPress version ** 3.6.0 or higher **
 *  Tested up to **6.4.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/core-files-update-cleanup/)
 * Tags
 * [cleanup](https://test.wordpress.org/plugins/tags/cleanup/)[core](https://test.wordpress.org/plugins/tags/core/)
   [update](https://test.wordpress.org/plugins/tags/update/)
 *  [Advanced View](https://test.wordpress.org/plugins/core-files-update-cleanup/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/core-files-update-cleanup/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/core-files-update-cleanup/reviews/)

## Contributors

 *   [ indextwo ](https://profiles.wordpress.org/indextwo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/core-files-update-cleanup/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/indextwo)