Skip to content

Commit b4aa439

Browse files
authored
Merge pull request #255 from ernilambar/252-update-core-update-example
2 parents d1ef1de + d4820b4 commit b4aa439

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

README.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -381,15 +381,10 @@ update isn't actually running.
381381
No files found that need cleaning up
382382
Success: WordPress updated successfully.
383383

384-
# Update WordPress to latest version of 3.8 release
385-
$ wp core update --version=3.8 ../latest.zip
386-
Updating to version 3.8 ()...
384+
# Update WordPress using zip file.
385+
$ wp core update ../latest.zip
386+
Starting update...
387387
Unpacking the update...
388-
Cleaning up files...
389-
File removed: wp-admin/js/tags-box.js
390-
...
391-
File removed: wp-admin/js/updates.min.
392-
377 files cleaned up
393388
Success: WordPress updated successfully.
394389

395390
# Update WordPress to 3.1 forcefully

src/Core_Command.php

+3-8
Original file line numberDiff line numberDiff line change
@@ -1078,15 +1078,10 @@ private static function get_core_checksums( $version, $locale, $insecure ) {
10781078
* No files found that need cleaning up
10791079
* Success: WordPress updated successfully.
10801080
*
1081-
* # Update WordPress to latest version of 3.8 release
1082-
* $ wp core update --version=3.8 ../latest.zip
1083-
* Updating to version 3.8 ()...
1081+
* # Update WordPress using zip file.
1082+
* $ wp core update ../latest.zip
1083+
* Starting update...
10841084
* Unpacking the update...
1085-
* Cleaning up files...
1086-
* File removed: wp-admin/js/tags-box.js
1087-
* ...
1088-
* File removed: wp-admin/js/updates.min.
1089-
* 377 files cleaned up
10901085
* Success: WordPress updated successfully.
10911086
*
10921087
* # Update WordPress to 3.1 forcefully

0 commit comments

Comments
 (0)