How to Delete Old WordPress Core Files

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.

We recommend making a backup of your WordPress from within the WordPress Dashboard before adding or activating a new plugin. For instructions on how to backup WordPress, please refer to the following article from WordPress: WordPress Backups.

Install Old Core Files Plugin

To install the Old Core Files plugin on your WordPress site:

  1. Login to WordPress Dashboard by via https://yourdomain.com/wp-admin.php or https://yourdomain.com/wp-login.php (replace yourdomain.com with your actual domain name).
  2. From the left navigation menu, click Plugins > Add New.
  3. Search "Old Core Files" and click Search Plugins.
  4. Click Install Now > Ok.
  5. Click Activate Plugin.

View Old Core Files

To check your WordPress installation for old core files:

  1. Go to Plugins > Installed Plugins.
  2. 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.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Why Videos Should Never be Uploaded to WordPress

  Video content can make a website a lot more interesting by adding additional value to a...

Optimizing WordPress

WordPress is currently one of the most popular blogging/CMS applications in use on our servers....

WordPress Home Fix

If the links in your blog show the wrong domain, redirect to another site or if they are...

How to Login to WordPress

Logging in to WordPress is as simple as visiting your WordPress dashboard URL.   Note: Your...

How to Install WordPress

WordPress is one of the most popular blogging platforms around for good reason. It is easy to...