Description
A house entry. Written by the people who run Promptea, published here so the catalogue has something to show and so the required fields have a worked example.
Inherit a WordPress install and the first hour goes on finding out what is actually running. This is the block we paste first. It is deliberately read only, so it is safe to run on a site you do not yet understand.
wp core version --extra
wp theme list --fields=name,status,version,update
wp plugin list --fields=name,status,version,update
wp option get siteurl; wp option get home
wp option get blog_public
wp user list --role=administrator --fields=ID,user_login,user_email
wp post list --post_type=page --post_status=publish --format=count
wp cron event list --fields=hook,next_run_relative | head -20
wp db size --tables --format=table | sort -k2 -h | tail -10
The two lines that pay for the rest
blog_public, because a staging copy left indexable is the single most common inherited disaster. And the administrator list, because it is usually longer than the client thinks and contains at least one person who left in 2023.
Reviews
Nobody has poured a cup on this one yet. If you have run it, say how it went.