Title: WP Core Update Cleaner
Author: Upperdog
Published: <strong>2014 年 12 月 22 日</strong>
Last modified: 2024 年 3 月 19 日

---

搜索插件

![](https://ps.w.org/wp-core-update-cleaner/assets/banner-772x250.png?rev=1051372)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-core-update-cleaner/assets/icon-256x256.png?rev=1051372)

# WP Core Update Cleaner

 作者：[Upperdog](https://profiles.wordpress.org/upperdog/)

[下载](https://downloads.wordpress.org/plugin/wp-core-update-cleaner.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-core-update-cleaner/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-core-update-cleaner/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/wp-core-update-cleaner/#developers)

 [支持](https://wordpress.org/support/plugin/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._**

### Manual installation

 1. Upload the `wp-core-update-cleaner` directory to the `/wp-content/plugins/` directory.
 2. 通过 WordPress 的“插件”菜单以激活本插件。

## 屏幕截图

[⌊The plugin gives you feedback on which files are being removed.⌉⌊The plugin gives
you feedback on which files are being removed.⌉[

The plugin gives you feedback on which files are being removed.

## 常见问题

### 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?

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.

## 评价

![](https://secure.gravatar.com/avatar/b2422aa1cf6c5d1b1bff7cf3a3cee116a21a3c901ba7eacc83354f9f8128bf26?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-9010/)󠁿

 [SypaCC](https://profiles.wordpress.org/sypacc/) 2020 年 4 月 30 日

It makes life much easier by doing it’s job perfectly.

![](https://secure.gravatar.com/avatar/fd1d58ce44ef22dd5be33ba7dff3235101a6ab0102776b77dda7ccbd30c23405?
s=60&d=retro&r=g)

### 󠀁[Great, could be Greater!](https://wordpress.org/support/topic/great-could-be-greater/)󠁿

 [Curtis](https://profiles.wordpress.org/salsafire/) 2016 年 9 月 3 日

Thank you for your plugin development. This plugin does what it says. Was using 
a read.me plugin remover on my sites. This is even better. Second the thought of
a future update to add removal install.php.

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/)

## 贡献者及开发者

「WP Core Update Cleaner」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Upperdog ](https://profiles.wordpress.org/upperdog/)
 *   [ Emil Gustafsson ](https://profiles.wordpress.org/gesen/)

[帮助将「WP Core Update Cleaner」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-core-update-cleaner)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-core-update-cleaner/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-core-update-cleaner/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/wp-core-update-cleaner/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-core-update-cleaner/)。

## 更新日志

#### 1.2.0 (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)

 * 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

 * Initial release.

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **900+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-core-update-cleaner/)
 * 标签
 * [core](https://cn.wordpress.org/plugins/tags/core/)[update](https://cn.wordpress.org/plugins/tags/update/)
   [upgrade](https://cn.wordpress.org/plugins/tags/upgrade/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-core-update-cleaner/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/wp-core-update-cleaner/reviews/)

## 贡献者

 *   [ Upperdog ](https://profiles.wordpress.org/upperdog/)
 *   [ Emil Gustafsson ](https://profiles.wordpress.org/gesen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-core-update-cleaner/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/gesen)