We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74870e commit c2be57cCopy full SHA for c2be57c
entity-command.php
@@ -14,7 +14,6 @@
14
WP_CLI::add_command( 'menu', 'Menu_Command' );
15
WP_CLI::add_command( 'menu item', 'Menu_Item_Command' );
16
WP_CLI::add_command( 'menu location', 'Menu_Location_Command' );
17
-WP_CLI::add_command( 'network', 'Network_Namespace' );
18
WP_CLI::add_command( 'network meta', 'Network_Meta_Command', array(
19
'before_invoke' => function () {
20
if ( !is_multisite() ) {
@@ -55,3 +54,7 @@
55
54
);
56
57
WP_CLI::add_command( 'user term', 'User_Term_Command' );
+
58
+if ( class_exists( 'WP_CLI\Dispatcher\CommandNamespace' ) ) {
59
+ WP_CLI::add_command( 'network', 'Network_Namespace' );
60
+}
0 commit comments