OSDN Git Service

Don't pretend we're in wp-admin, but continue to load all admin APIs.
authorscribu <mail@scribu.net>
Wed, 14 Aug 2013 14:40:20 +0000 (17:40 +0300)
committerscribu <mail@scribu.net>
Wed, 14 Aug 2013 14:50:03 +0000 (17:50 +0300)
commit10845a747904cf2a6ddefbf9b6c07e1d769238c2
tree87444803a199dd24e1196dbb224b1955aa4ae895
parentf3134a2f41554a984f6a07e47294166b81733fbd
Don't pretend we're in wp-admin, but continue to load all admin APIs.

The WP_CLI context is not like the WP_ADMIN context. It's a different
animal.

See #674 for more details.

Fixes #477, #519, #574, #579, #582, #669
features/core.feature
php/WP_CLI/CommandWithUpgrade.php
php/wp-cli.php