From d4820b4ac57479c61816febd189e6d223c9d0aa1 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Thu, 14 Mar 2024 11:16:42 +0545 Subject: [PATCH] Remove extraneous argument in core update example --- README.md | 11 +++-------- src/Core_Command.php | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7b6de3a7..4e2be2c1 100644 --- a/README.md +++ b/README.md @@ -381,15 +381,10 @@ update isn't actually running. No files found that need cleaning up Success: WordPress updated successfully. - # Update WordPress to latest version of 3.8 release - $ wp core update --version=3.8 ../latest.zip - Updating to version 3.8 ()... + # Update WordPress using zip file. + $ wp core update ../latest.zip + Starting update... Unpacking the update... - Cleaning up files... - File removed: wp-admin/js/tags-box.js - ... - File removed: wp-admin/js/updates.min. - 377 files cleaned up Success: WordPress updated successfully. # Update WordPress to 3.1 forcefully diff --git a/src/Core_Command.php b/src/Core_Command.php index 80139080..ac12e3eb 100644 --- a/src/Core_Command.php +++ b/src/Core_Command.php @@ -1078,15 +1078,10 @@ private static function get_core_checksums( $version, $locale, $insecure ) { * No files found that need cleaning up * Success: WordPress updated successfully. * - * # Update WordPress to latest version of 3.8 release - * $ wp core update --version=3.8 ../latest.zip - * Updating to version 3.8 ()... + * # Update WordPress using zip file. + * $ wp core update ../latest.zip + * Starting update... * Unpacking the update... - * Cleaning up files... - * File removed: wp-admin/js/tags-box.js - * ... - * File removed: wp-admin/js/updates.min. - * 377 files cleaned up * Success: WordPress updated successfully. * * # Update WordPress to 3.1 forcefully