Check WordPress Core Integrity With wp-toolkit¶
Use this page when WordPress core files may be missing, corrupted, or modified. wp-toolkit can compare core files and reinstall clean WordPress core files when appropriate.
When To Run An Integrity Check¶
Run an integrity check when:
- WordPress will not load after a file change.
- Core files are missing or corrupted.
- Malware cleanup removed or changed WordPress core files.
- A failed update left WordPress in a broken state.
- Support asks for a core file check.
Do not use this as a substitute for reviewing plugins, themes, or custom code. Integrity checks focus on WordPress core.
Check WordPress Integrity¶
- Log in to cPanel.
- Open
wp-toolkitorWordPress Management. - Expand the affected site.
- Select
Check WordPress Integrity. - Review the result.
If wp-toolkit reports missing or modified core files, it may offer to reinstall WordPress core.
Reinstall WordPress Core¶
Before reinstalling:
- Create or confirm a backup.
- Confirm the affected site and path.
- Confirm the issue is core-file related, not a plugin or theme issue.
- Reinstall WordPress core from wp-toolkit.
- Test the public site and wp-admin.
Reinstalling core should not replace normal content in wp-content, but backups
still matter before repair work.
WP-CLI Equivalent¶
Run these commands from the WordPress document root to check core files from SSH.
wp core verify-checksums
If core files are missing or modified and the site has a current backup, reinstall WordPress core:
wp core download --force
wp core verify-checksums
This does not replace plugins, themes, uploads, or custom files in wp-content.
If checksum verification fails after reinstalling core, review the path and
contact Fused before removing files manually.
If Integrity Repair Fails¶
If wp-toolkit cannot reinstall core files, file corruption may be blocking WP-CLI or
wp-toolkit actions. cPanel support documentation notes that renaming a corrupted
wp-includes folder and then reinstalling core may be needed in some cases.
Contact Fused before doing manual file surgery if the site is live or the backup status is unclear.
What To Test After Repair¶
Check:
- Home page.
- WordPress admin.
- Plugin and theme screens.
- Contact forms.
- Checkout, memberships, or logins.
- Error logs.