brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: wp core check-update tells you which wordpress version is waiting

WordPress
~/tips/tip-wordpress-core-check-update-available

wp core check-update

Lists the WordPress core updates that are available, split into major and minor versions.

A quick look at the available core versions comes before every upgrade I plan.

wp core check-update
wp core update --minor

wp core check-update prints the versions you can update to, the type (major or minor) and the package URL. When nothing is waiting it prints a message that WordPress is at the latest version. wp core update --minor then installs only a minor release, so security fixes arrive without a move to a new major version that may break a theme. Take a database export first, with wp db export, because the core update can run a database upgrade.

Further reading: WP-CLI: wp core check-update

More WordPress tips wp user application-password create anna backup-script --porcelain define( 'MEDIA_TRASH', true ); wp cli check-update wp theme delete --all wp media image-size All WordPress tips (85) All topics

Link