OSDN Git Service

whitespace is nice, but let's not get ridiculous
authorscribu <mail@scribu.net>
Mon, 12 Aug 2013 18:37:20 +0000 (21:37 +0300)
committerscribu <mail@scribu.net>
Mon, 12 Aug 2013 18:37:20 +0000 (21:37 +0300)
php/commands/core.php

index 3cac1d1..dcb5b95 100644 (file)
@@ -42,11 +42,11 @@ class Core_Command extends WP_CLI_Command {
 
                if ( isset( $assoc_args['locale'] ) &&  isset( $assoc_args['version'] ) ) {
                        $download_url = 'https://'. substr( $assoc_args['locale'],0,2 ) .'.wordpress.org/wordpress-' . $assoc_args['version'] . '-' .$assoc_args['locale']. '.tar.gz';
-                       WP_CLI::log( sprintf( 'Downloading WordPress %s ( %s )...', $assoc_args['version'], $assoc_args['locale'] ) );
+                       WP_CLI::log( sprintf( 'Downloading WordPress %s (%s)...', $assoc_args['version'], $assoc_args['locale'] ) );
                } else if ( isset( $assoc_args['locale'] ) ) {
                        $offer = $this->get_download_offer( $assoc_args['locale'] );
                        $download_url = str_replace( '.zip', '.tar.gz', $offer['download'] );
-                       WP_CLI::log( sprintf( 'Downloading WordPress %s ( %s )...',
+                       WP_CLI::log( sprintf( 'Downloading WordPress %s (%s)...',
                                $offer['current'], $offer['locale'] ) );
                } elseif ( isset( $assoc_args['version'] ) ) {
                        $download_url = 'https://wordpress.org/wordpress-' . $assoc_args['version'] . '.tar.gz';