
內容簡介
當 WordPress 更新時,即使您事先已經刪除了檔案,它仍會重新安裝 wp-config-sample.php、readme 檔案和授權檔案。這個外掛程式在 WordPress 手動或自動更新時,會自動刪除這些檔案。啟用這個外掛程式時,它也會刪除這些檔案。刪除這些檔案不是強制性的,但如果您不想讓它們公開您的 WordPress 版本或只是想保持整潔,您可能會想要這麼做。
被刪除的檔案:
授權檔案,包括預設和本地語言版本
Readme 檔案,包括預設和本地語言版本
wp-config-sample.php
wp-admin/install.php
如果您正在使用外掛程式或服務來掃描您的網站,以驗證核心檔案的校驗和檢測,您可能不想安裝這個外掛程式。當移除了這些檔案時,可能會產生警告。
手動安裝
上傳 wp-core-update-cleaner 資料夾到 /wp-content/plugins/ 資料夾中。
透過 WordPress 的「外掛程式」選單啟用外掛程式。
外掛標籤
開發者團隊
原文外掛簡介
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
Upload the wp-core-update-cleaner directory to the /wp-content/plugins/ directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.
