php/WP_CLI/Runner.php
private static function guess_url( $assoc_args ) {
		if ( isset( $assoc_args['blog'] ) ) {
			$assoc_args['url'] = $assoc_args['blog'];
		}

		if ( isset( $assoc_args['url'] ) ) {
			$url = $assoc_args['url'];
			if ( true === $url ) {
				WP_CLI::warning( 'The --url parameter expects a value.' );
			}
		}

		if ( isset( $url ) ) {
			return $url;
		}

		return false;
	}
private static function guess_url( $assoc_args ) {
		if ( isset( $assoc_args['blog'] ) ) {
			$assoc_args['url'] = $assoc_args['blog'];
		}

		if ( isset( $assoc_args['url'] ) ) {
			$url = $assoc_args['url'];
			if ( true === $url ) {
				WP_CLI::warning( 'The --url parameter expects a value.' );
			}
		}

		if ( isset( $url ) ) {
			return $url;
		}

		return false;
	}
private static function guess_url ( $ assoc_args ) { if ( isset ( $ assoc_args [ 'blog' ] ) ) { $ assoc_args [ 'url' ] = $ assoc_args [ 'blog' ] ; } if ( isset ( $ assoc_args [ 'url' ] ) ) { $ url = $ assoc_args [ 'url' ] ; if ( true === $ url ) { WP_CLI :: warning ( 'The --url parameter expects a value.' ) ; } } if ( isset ( $ url ) ) { return $ url ; } return false ; }
Guess which URL context WP-CLI has been invoked under.

@param array $assoc_args
@return string|false
Guess which URL context WP - CLI has been invoked under .