Skip to content

Instantly share code, notes, and snippets.

Last active May 11, 2016 03:34
What would you like to do?
[WordPress] コアソースを綺麗にする
$ cd /path/to/wordpress
$ mv wp-config.php _wp-config.php
$ rm -rf wp-admin/*
$ rm -rf wp-includes/*
$ rm -rf wp-content/languages/*
$ rm -f wp-*.php
$ wp core download --force --version=4.5.2 --locale=ja
Downloading WordPress 4.5.2 (ja)...
md5 hash verified: 0ca6bba086c6a7efc025f12d49c729de
Success: WordPress downloaded.
$ mv _wp-config.php wp-config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment