wp core update
https://developer.wordpress.org/cli/commands/core/update/
(WordPress 本体のアップデート) wp core check-update wp core update wp core update-db --dry-run wp core update-db ※マルチサイトの場合 (ネットワークの更新) が追加で必要 wp core update-db --network
WP-CLIでマルチサイトの「ネットワークの更新」を実行する|コマンド|システム開発・構築の神様 2016
「ネットワークの更新」は管理画面だと「Thank you for Updating! Please visit the Upgrade Network page to update all your sites.」の処理
(プラグインのアップデート) wp plugin update --all (テーマのアップデート) wp theme update --all (翻訳のアップデート) wp language core update wp language plugin update --all wp language theme update --all
wp-cli で WordPress のコア、プラグイン、テーマ、翻訳をアップデートするコマンドのメモ - Qiita 2018
特定バージョン
wp core update --version=3.1 --force
woocommerce
WooCommerce database update required
https://github.com/woocommerce/woocommerce/wiki/Upgrading-the-database-using-WP-CLI
wp plugin update woocommerce wp wc update
wp wc updateは--dry-runオプションない