# How to Check WordPress Core and Plugin File Integrity

https://ferkesh.net/zh/knowledgebase/article/wordpress-integrity-checksums

![Workflow: Identify the installation; Run the comparison; Classify differences; Plan remediation.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-12.svg#wordpress-integrity-checksums)

Checksums help identify files that differ from a published WordPress release. A match is useful evidence about covered files. It says nothing by itself about the database, credentials or custom code.

## Procedure

1. **Identify the installation.** Confirm the site path, release and locale before comparing files. Record versions and keep a current snapshot. Several unrelated sites can share one hosting account.
2. **Run the comparison.** Use WP-CLI core verify-checksums and plugin verify-checksums with the intended installation path. Save the result locally. Use your trusted deployment archive for custom or premium extensions without repository checksums.
3. **Classify differences.** Separate expected deployment changes from unexpected edits and unknown files. Preserve suspicious samples privately and compare timestamps and deployment records. Avoid publishing paths or captured evidence.
4. **Plan remediation.** Restore only from known clean sources through the supported update or recovery flow. Compare again and review site behavior, access and database state after the restore.

## Related guides

- [How to Verify WordPress After a Malware Cleanup](https://ferkesh.net/knowledgebase/article/wordpress-check-compromise-recovery)
- [How to Identify Must-Use Plugins in WordPress](https://ferkesh.net/knowledgebase/article/wordpress-mu-plugin-inventory)
- [WordPress articles](https://ferkesh.net/knowledgebase/category/wordpress)

## Official references

- [WP-CLI core checksum verification](https://developer.wordpress.org/cli/commands/core/verify-checksums/)
- [WP-CLI plugin checksum verification](https://developer.wordpress.org/cli/commands/plugin/verify-checksums/)

Ferkesh Hosting. Last reviewed November 26, 2026.
