This guide will explain how to reinstall WordPress core files, if any changes are made to the core files running WordPress it can prevent the site functioning correctly, after reinstalling the core files it is advisable to check the site is still functioning as expected
TL;DR WordPress core files can be reinstalled via cPanel > WordPress Toolkit > Check WordPress Integrity > Reinstall WordPress Core
Requirements
To complete this will require having a cPanel account with a WordPress site installed and the site has been added into WordPress Toolkit, to do this here is a guide for How To Scan & Add a Site into cPanel’s WordPress Toolkit
How to reinstall WordPress core files using cPanel's WordPress Toolkit
Step-by-Step Guide
1/ Search for WordPress Toolkit
In cPanel search for ‘WordPress Toolkit’ in the top right search bar and click on WordPress Toolkit from the search results
2/ Click Check WordPress Integrity
Inside the WordPress Toolkit interface click on Check WordPress Integrity
3/ Reinstall WordPress Core
Click on the option to Reinstall WordPress Core
4/ Confirm Re-installation
As this involves file system changes, WordPress Toolkit will ask to confirm the re-installation of the core files
5/ Re-installation confirmation
WordPress Toolkit will confirm that the core files have now been reinstalled
Video Tutorial
Play Video
Summary
The WordPress core files will now have been reinstalled, it is advisable to check the site is still working as expected.