Table of contents
Get the industry’s fastest hosting for WordPress◦ 99.999% uptime
◦ Comprehensive security
◦ 24/7 support

WordPress GuideWP-CLI → WordPress Checksums

How to verify WordPress checksums using WP-CLI

Verifying WordPress checksums using WP-CLI

If you do not keep site plugins updated along with WordPress core updated, then you run into the chance of your site being hacked or infected by Malware. If your site does get infected by malware, a way to easily find any of the non-standard WordPress core and plugin files is by using the verify checksums commands in the WP-CLI (WordPress Command Line Interface).

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

Preparing to run commands

First, you will need to login to your portal via SSH. For directions on generating credentials for sFTP/SSH creds from your site manager, see Finding Your SFTP/SSH Credentials in Managed WordPress Portal. For help using SSH, see Logging into Your Server via Secure Shell (SSH).

Checksum commands

For WordPress core files

To verify that all WordPress core files checksum match, the WP-CLI command to run is:

For a specific version of WordPress core files

To verify checksum against specific versions of WordPress, you can include the version number in the command. To verify for version 6.1 of WordPress core, for example, the command would be:

If you were using an older version of WordPress, for example version 6.0.3, the command would be:

For all plugins

To verify the checksum of all plugins which are installed on your site server (this would only include plugins available from WordPress), then the command to run would be:

For a specific plugin

To verify the checksums of a specific plugin (e.g., WooCommerce), you will need to know the plugin “slug” (or short name). You can find the slug by looking in the plugin links on the WordPress website.

The plugin slug for WooCommerce is woocommerce, so to verify the checksums of the WooCommerce plugin, the command would be:

Additional resources

What is WordPress? →

A complete beginner’s guide—from use cases, to basics, to how to get started

Installing WordPress using WP-CLI →

With your SSH credentials, learn how to install WordPress using the WordPress Command Line Interface (WP-CLI) after creating a database for the new WordPress install.

How to integrate WordPress and Slack →

If your org uses Slack and WordPress, there are several ways you can tie them together.

Luke Cavanagh

Luke Cavanagh, Strategic Support & Accelerant at Liquid Web, is one of the company’s most seasoned subject matter experts, focusing on web hosting, digital marketing, and ecommerce. He is dedicated to educating readers on the latest trends and advancements in technology and digital infrastructure.