Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extraneous argument in core update example #255

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 3 additions & 8 deletions src/Core_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down