Welcome to WP-CLIWP-CLIWP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/https://make.wordpress.org/cli/!
WP-CLI is the official command line tool for interacting with and managing your WordPress sites.
Although it’s power comes from its ability to be customized, wp doctor includes a number of default diagnostic checks considered to be recommendations for production websites.
Use wp doctor list to view these default checks:
name
description
autoload-options-size
Warns when autoloaded options size exceeds threshold of 900 kb.
constant-savequeries-falsy
Confirms expected state of the SAVEQUERIES constant.
constant-wp-debug-falsy
Confirms expected state of the WP_DEBUG constant.
coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress.-update
Errors when new WordPress minor releaseMinor ReleaseA set of releases or versions having the same minor version number may be collectively referred to as .x , for example version 5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (five dot two) branch of that software. Minor Releases often make improvements to existing features and functionality. is available; warns for major releaseMajor ReleaseA set of releases or versions having the same major version number may be collectively referred to as “X.Y” -- for example version 5.2.x to refer to versions 5.2, 5.2.1, and all other versions in the 5.2. (five dot two dot) branch of that software. Major Releases often are the introduction of new major features and functionality..
core-verify-checksums
Verifies WordPress files against published checksums; errors on failure.
cron-count
Errors when there’s an excess of 50 total cron jobs registered.
cron-duplicates
Errors when there’s an excess of 10 duplicate cron jobs registered.
file-eval
Checks files on the filesystem for regex pattern `eval\(.*base64_decode\(.*`.
option-blog-public
Confirms the expected value of the ‘blog_public’ option.
pluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party-active-count
Warns when there are greater than 80 plugins activated.
plugin-deactivated
Warns when greater than 40% of plugins are deactivated.
plugin-update
Warns when there are plugin updates available.
theme-update
Warns when there are theme updates available.
To explain these further:
Autoloaded options are options that are automatically loaded in every request to WordPress. A size exceeding the recommended threshold could be a symptom of a larger problem.
Because SAVEQUERIES causes WordPress to save a backtrace for every SQL query, which is an expensive operation, using SAVEQUERIES in production is discouraged.
WordPress minor versions are typically security releases that should be applied immediately.