OSDN Git Service

add comment above apparently unnecessary load_command() call
authorscribu <mail@scribu.net>
Tue, 23 Jul 2013 20:18:30 +0000 (23:18 +0300)
committerscribu <mail@scribu.net>
Tue, 23 Jul 2013 20:18:54 +0000 (23:18 +0300)
php/WP_CLI/Runner.php

index abce204..9a08694 100644 (file)
@@ -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'] ) ) {