PHPackages                             upperdog/wp-core-update-cleaner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. upperdog/wp-core-update-cleaner

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

upperdog/wp-core-update-cleaner
===============================

This plugin automatically removes some files in the root folder, like wp-config-sample.php, readme and license files, when WordPress is manually or automatically updated.

v1.2.0(7y ago)7103GPL-2.0-or-laterPHP

Since Oct 22Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Upperdog/wp-core-update-cleaner)[ Packagist](https://packagist.org/packages/upperdog/wp-core-update-cleaner)[ Docs](https://github.com/upperdog/wp-core-update-cleaner)[ RSS](/packages/upperdog-wp-core-update-cleaner/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

WP Core Update Cleaner
======================

[](#wp-core-update-cleaner)

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:

- License files, both default and localized
- Readme files, both default and localized
- wp-config-sample.php
- wp-admin/install.php

***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.***

Installation
------------

[](#installation)

1. Upload the `wp-core-update-cleaner` directory to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

### Why does this plugin exist?

[](#why-does-this-plugin-exist)

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.

### Why should I delete these files?

[](#why-should-i-delete-these-files)

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.

Changelog
---------

[](#changelog)

### 1.2.0 (2018-10-27)

[](#120-2018-10-27)

- Remove files when plugin is activated so site admins don't have to wait for the next core update for the files to be removed.

### 1.1.0 (2018-10-22)

[](#110-2018-10-22)

- Add wp-admin/install.php to the list of files to remove.
- Add support for running the plugin on automatic core updates.
- Enable installation with Composer.

### 1.0

[](#10)

- Initial release.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

2751d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fb149e23267945aabab72ef0f434ab2db0e3123e96154b3f19cf80f2ff0d7c5?d=identicon)[upperdog](/maintainers/upperdog)

---

Top Contributors

[![gesen](https://avatars.githubusercontent.com/u/2316984?v=4)](https://github.com/gesen "gesen (32 commits)")

---

Tags

wordpresswordpress-pluginpluginwordpressupdate

### Embed Badge

![Health badge](/badges/upperdog-wp-core-update-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/upperdog-wp-core-update-cleaner/health.svg)](https://phpackages.com/packages/upperdog-wp-core-update-cleaner)
```

###  Alternatives

[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
