OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef051f9
)
add comment above apparently unnecessary load_command() call
author
scribu
<mail@scribu.net>
Tue, 23 Jul 2013 20:18:30 +0000
(23:18 +0300)
committer
scribu
<mail@scribu.net>
Tue, 23 Jul 2013 20:18:54 +0000
(23:18 +0300)
php/WP_CLI/Runner.php
patch
|
blob
|
history
diff --git
a/php/WP_CLI/Runner.php
b/php/WP_CLI/Runner.php
index
abce204
..
9a08694
100644
(file)
--- a/
php/WP_CLI/Runner.php
+++ b/
php/WP_CLI/Runner.php
@@
-319,6
+319,8
@@
class Runner {
if ( empty( $this->arguments ) )
$this->arguments[] = 'help';
+ // Load bundled commands early, so that they're forced to use the same
+ // APIs as non-bundled commands.
Utils\load_command( $this->arguments[0] );
if ( isset( $this->config['require'] ) ) {