Last active
February 12, 2025 22:34
-
-
Save mPanasiewicz/7a712a502bf8e6d98c327b8723958eb2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete the core updater lock option | |
wp option delete core_updater.lock | |
# Update WordPress to 6.7.2 forcefully | |
wp core update --version=6.7.2 --force | |
# Display the WordPress version | |
wp core version | |
# Checks for WordPress updates via Version Check API. | |
wp core check-update | |
# Update the WordPress database | |
wp core update-db | |
# Update multiple default themes from wordpress.org | |
wp theme update twentytwenty twentytwentyone twentytwentytwo twentytwentythree twentytwentyfour | |
# Delete older default themes | |
wp theme delete twentysixteen twentyseventeen twentynineteen | |
# Update all themes | |
wp theme update --all | |
# Install the new default theme | |
wp theme install twentytwentyone | |
# Deactivate Gutenberg plugin | |
wp plugin deactivate gutenberg | |
# Delete Gutenberg plugin | |
wp plugin delete gutenberg | |
# Delete Hello Dolly plugin | |
wp plugin delete hello-dolly | |
# Update Akismet to the latest version from wordpress.org | |
wp plugin update akismet | |
# Update all plugins from wordpress.org | |
wp plugin update --all | |
# Install the latest version of Blockeditor Fullscreen Mode Control from wordpress.org and activate | |
wp plugin install blockeditor-fullscreen-mode-control --activate | |
# Install the latest version of Disable Gutenberg from wordpress.org and activate | |
wp plugin install disable-gutenberg --activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.org/news/2024/01/wordpress-6-4-3-maintenance-and-security-release/
https://wordpress.org/news/2023/11/shirley/
https://developer.wordpress.org/cli/commands/core/update/
https://developer.wordpress.org/cli/commands/core/version/
https://developer.wordpress.org/cli/commands/core/check-update/
https://developer.wordpress.org/cli/commands/core/update-db/
https://developer.wordpress.org/cli/commands/theme/install/
https://developer.wordpress.org/cli/commands/theme/delete/
https://developer.wordpress.org/cli/commands/theme/update/
https://developer.wordpress.org/cli/commands/plugin/deactivate/
https://developer.wordpress.org/cli/commands/plugin/delete/
https://developer.wordpress.org/cli/commands/plugin/update/
https://developer.wordpress.org/cli/commands/plugin/install/
https://developer.wordpress.org/cli/commands/option/update/