How to check Wordpress site integrity using wpcli

Check the integrity of the Wordpress core:

example.sh
wp core verify-checksums

Check the integrity of all plugins:

example.sh
wp plugin verify-checksums --all

docker-compose variant

example.sh
docker-compose exec wpcli wp core verify-checksums
docker-compose exec wpcli wp plugin verify-checksums --all

 


Check out similar posts by category: Wordpress