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 的“插件”菜单以激活本插件。
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录