Automattic / developer

In your WordPress, developing locally
http://vip.wordpress.com
GNU General Public License v2.0
472 stars 103 forks source link

wp-cli command fixes #53

Closed francescolaffi closed 11 years ago

francescolaffi commented 11 years ago

compat with wp-cli 0.11.2: wp-cli doesn't fire admin_init anymore with the latest release, so the recommended plugins array would be empty

fix activation bug: $activate var was overwritten in the loop, so it would stop activating at the first plugin not recommended for the specified type

save project type: when using wp-cli command to install plugins the proj type wasn't saved so it would ask anyway when using wp-admin for the first time