How to Delete Old WordPress Core Files
OH SNAP! This article has been deprecated.
Please note that the plugin mentioned below was last updated in 2019 and is not current with the most recent WordPress releases. To know more about WordPress plugins, you may visit the articles, Guide to WordPress Plugins and How do I know which WordPress Plugin is right for me.
When WordPress is upgraded, some files are no longer used and are consequently set for removal. On some occasions, like when WordPress is upgraded via the WordPress Dashboard, PHP has no permissions to delete the old core files; thus they remain on the server, making your WordPress site vulnerable to security threats.
The Old Core Files plugin can help with finding and deleting obsolete core files. The plugin lists old WordPress core files which are no longer required and takes the guesswork out of the process.
Install Old Core Files Plugin
To install the Old Core Files plugin on your WordPress site:
- Login to WordPress Dashboard by via http://example.com/wp-admin.php or http://example.com/wp-login.php (replace example.com with your actual domain name).
- From the left navigation menu, click Plugins > Add New.
- Search "Old Core Files" and click Search Plugins.
- Click Install Now > Ok.
- Click Activate Plugin.
View Old Core Files
To check your WordPress installation for old core files:
- Go to Plugins > Installed Plugins.
- Navigate to the Old Core Files plugin and click Settings.
Two lists of files will appear: existing and all. Old core files will appear under the list titled "Existing;" alternately, if there are no old core files, nothing will be listed.
Old core files will need to be deleted manually via FTP. If you need help with FTP, please see our video tutorials.