OSDN Git Service

export: minor whitespace fixes
authorscribu <mail@scribu.net>
Thu, 9 May 2013 18:02:00 +0000 (21:02 +0300)
committerscribu <mail@scribu.net>
Thu, 9 May 2013 18:02:00 +0000 (21:02 +0300)
php/commands/export.php

index 2983053..e28d778 100644 (file)
@@ -15,16 +15,16 @@ class Export_Command extends WP_CLI_Command {
         */
        public function __invoke( $_, $assoc_args ) {
                $defaults = array(
-                       'dir'                           =>              NULL,
-                       'start_date'            =>              NULL,
-                       'end_date'                      =>              NULL,
-                       'post_type'                     =>              NULL,
-                       'author'                        =>              NULL,
-                       'category'                      =>              NULL,
-                       'post_status'           =>              NULL,
-                       'post__in'                      =>              NULL,
-                       'skip_comments'         =>              NULL,
-                       'file_item_count'       =>              1000,
+                       'dir'             => NULL,
+                       'start_date'      => NULL,
+                       'end_date'        => NULL,
+                       'post_type'       => NULL,
+                       'author'          => NULL,
+                       'category'        => NULL,
+                       'post_status'     => NULL,
+                       'post__in'        => NULL,
+                       'skip_comments'   => NULL,
+                       'file_item_count' => 1000,
                        'verbose'         => false,
                );
 
@@ -386,8 +386,8 @@ class Export_Command extends WP_CLI_Command {
                        if ( !$this->verbose )
                                $progress = new \cli\progress\Bar( 'Exporting',  count( $post_ids ) );
 
-               $this->start_export();
-               echo '<?xml version="1.0" encoding="' . get_bloginfo( 'charset' ) . "\" ?>\n";
+                       $this->start_export();
+                       echo '<?xml version="1.0" encoding="' . get_bloginfo( 'charset' ) . "\" ?>\n";
 
 ?>
 <!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->