{"id":43233,"date":"2024-01-14T08:00:00","date_gmt":"2024-01-14T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/core-files-update-cleanup\/"},"modified":"2024-01-24T03:43:00","modified_gmt":"2024-01-24T03:43:00","slug":"core-files-update-cleanup","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/core-files-update-cleanup\/","title":{"rendered":"Core Files Update Cleanup"},"content":{"rendered":"<p>Whenever WordPress performs a core update, it automatically pulls down the following files onto the root:<\/p>\n<ul>\n<li><code>license.txt<\/code><\/li>\n<li><code>readme.html<\/code><\/li>\n<li><code>wp-config-sample.php<\/code><\/li>\n<\/ul>\n<p>These files aren\u2019t an inherent security risk by themselves; however they are uneccessary clutter on the root of your site (why would you want a <code>wp-config-sample.php<\/code> file on your production website?!); and it\u2019s just another easy-to-read vector confirming that you have a WordPress site for script-kiddies to scrape and attack.<\/p>\n<p>Simply install this plugin and it will clean up those files every time you perform a core WordPress update.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin deletes the unnecessary license.txt, readme.html and wp-config-sample.php files after a core update.<\/p>\n","protected":false},"author":65,"featured_media":257288,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Core Files Update Cleanup - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"This plugin deletes the unnecessary license.txt, readme.html and wp-config-sample.php files after a core update."},"footnotes":""},"categories":[1],"tags":[2556,1423,1507],"class_list":["post-43233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-cleanup","tag-core","tag-update"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/43233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=43233"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/43233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/257288"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=43233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=43233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=43233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}