OSDN Git Service

whitespace fixes
authorscribu <mail@scribu.net>
Tue, 1 Oct 2013 13:36:55 +0000 (16:36 +0300)
committerscribu <mail@scribu.net>
Tue, 1 Oct 2013 14:04:03 +0000 (17:04 +0300)
php/commands/plugin.php
php/commands/post.php
php/commands/term.php
php/commands/theme.php
php/utils.php

index 1ca6670..1f1605a 100644 (file)
@@ -375,7 +375,7 @@ class Plugin_Command extends \WP_CLI\CommandWithUpgrade {
         *
         * <plugin>
         * : The plugin to get.
-        * 
+        *
         * [--field=<field>]
         * : Instead of returning the whole plugin, returns the value of a single field.
         *
index 4221060..91ee1a4 100644 (file)
@@ -174,7 +174,7 @@ class Post_Command extends \WP_CLI\CommandWithDBObject {
                                unset( $fields['filter'], $fields['post_content'], $fields['format_content'] );
                        else if ( 'json' == $assoc_args['format'] )
                                unset( $fields['filter'] );
-                       
+
                        \WP_CLI\Utils\show_multiple_fields( $fields, $assoc_args['format'] );
                }
        }
index c2d7602..e9aad44 100644 (file)
@@ -26,7 +26,7 @@ class Term_Command extends WP_CLI_Command {
         *
         * [--<field>=<value>]
         * : Filter by one or more fields. For accepted fields, see get_terms().
-        * 
+        *
         * [--field=<field>]
         * : Prints the value of a single field for each term.
         *
@@ -142,7 +142,7 @@ class Term_Command extends WP_CLI_Command {
         *
         * <taxonomy>
         * : Taxonomy of the term to get
-        * 
+        *
         * [--field=<field>]
         * : Instead of returning the whole term, returns the value of a single field.
         *
@@ -176,7 +176,7 @@ class Term_Command extends WP_CLI_Command {
                } else {
 
                        $term = get_object_vars( $term );
-                       
+
                        \WP_CLI\Utils\show_multiple_fields( $term, $assoc_args['format'] );
                }
 
index abea4ae..8b0c7b6 100644 (file)
@@ -256,7 +256,7 @@ class Theme_Command extends \WP_CLI\CommandWithUpgrade {
         *
         * <theme>
         * : The theme to get.
-        * 
+        *
         * [--field=<field>]
         * : Instead of returning the whole theme, returns the value of a single field.
         *
index 5404fa2..bdcaba1 100644 (file)
@@ -310,8 +310,8 @@ function pick_fields( $item, $fields ) {
 }
 
 /**
- * Show a single field from a list of items
- * 
+ * Show a single field from a list of items.
+ *
  * @param array Array of objects to show fields from
  * @param string The field to show
  * @param string The format to show the field in
@@ -342,8 +342,8 @@ function show_single_field( $items, $field, $format = '', $field_prefix = '' ) {
 }
 
 /**
- * Show multiple fields of an object
- * 
+ * Show multiple fields of an object.
+ *
  * @param object|array Data to display
  * @param string Format to display the data in
  */