Skip to content

Commit

Permalink
Merge pull request #255 from ernilambar/252-update-core-update-example
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera authored Mar 14, 2024
2 parents d1ef1de + d4820b4 commit b4aa439
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
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

0 comments on commit b4aa439

Please sign in to comment.