Last active
August 17, 2016 01:18
-
-
Save megane9988/db363f247c0c02f0dd75771947459a25 to your computer and use it in GitHub Desktop.
WP CLIを利用して、コア、プラグイン、テーマ、翻訳ファイルをアップデートする ref: http://qiita.com/megane9988/items/9505cf091e8ee102025f
This file contains 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
$ wp cli version | |
WP-CLI 0.24.1 |
This file contains 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
wp cli update |
This file contains 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
$ wp db export hogehoge.sql |
This file contains 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
wp core update && wp plugin update --all && wp theme update --all && wp core language update |
This file contains 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
$ wp search-replace '元のドメイン' '置換後のドメイン' --export=hogehoge.sql |
This file contains 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
$ wp core verify-checksums |
This file contains 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
Success: WordPress install verifies against checksums. |
This file contains 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
git reset --hard HEAD && wp core update && wp plugin update --all && wp theme update --all && wp core language update && git add -A && git commit -m "update all" && git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment