Skip to content

Commit 0ab1d7a

Browse files
wp package needs to be run after packages are loaded
1 parent bc78b8d commit 0ab1d7a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

php/WP_CLI/Runner.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -797,13 +797,6 @@ public function start() {
797797
exit;
798798
}
799799

800-
// Protect 'package' commands from most of the runtime too,
801-
// except when the command will be run over SSH
802-
if ( 'package' === $this->arguments[0] && ! $this->config['ssh'] ) {
803-
$this->_run_command();
804-
exit;
805-
}
806-
807800
// Load bundled commands early, so that they're forced to use the same
808801
// APIs as non-bundled commands.
809802
Utils\load_all_commands();

0 commit comments

Comments
 (0)