diff --git a/command.php b/command.php index 8cc1314..60be189 100644 --- a/command.php +++ b/command.php @@ -1,6 +1,6 @@ focus_scope = WP_CLI\Utils\get_flag_value( $assoc_args, 'scope' ); - $this->focus_hook = WP_CLI\Utils\get_flag_value( $assoc_args, 'hook' ); + $this->focus_scope = Utils\get_flag_value( $assoc_args, 'scope' ); + $this->focus_hook = Utils\get_flag_value( $assoc_args, 'hook' ); - if ( ! isset( \WP_CLI::get_runner()->config['url'] ) ) { + if ( ! isset( WP_CLI::get_runner()->config['url'] ) ) { WP_CLI::add_wp_hook( 'muplugins_loaded', function(){ WP_CLI::set_url( home_url( '/' ) ); });