Skip to content

Instantly share code, notes, and snippets.

@wokamoto
Last active May 11, 2016 03:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save wokamoto/cc61aef7bcb88565298dea8f032f5401 to your computer and use it in GitHub Desktop.
[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