OSDN Git Service

allow to use both --locale and --version params for 'wp core download'
authorMattiaG <bots@mattiaghedin.it>
Mon, 12 Aug 2013 17:28:21 +0000 (19:28 +0200)
committerMattiaG <bots@mattiaghedin.it>
Mon, 12 Aug 2013 17:28:21 +0000 (19:28 +0200)
commitbcbae42ce51a42d6d8ced2003a48f7dc07c0c91c
tree3d4cc1a2b84f9f33e58f6aceca7abb8a0878e609
parent7fcaa4a40396fdca9229a9276bc349963cc5d966
allow to use both --locale and --version params for 'wp core download'

Ugly coded, but not so different from source. If the requested combination of locale+version is not available, the script fails like with wrong version parameter.
Tested setting it_IT and de_DE parameters and various versions.
php/commands/core.php