OSDN Git Service

Show version on wp theme status by default
authortolgap <tolga@hoppinger.com>
Wed, 1 May 2013 07:17:23 +0000 (09:17 +0200)
committertolgap <tolga@hoppinger.com>
Wed, 1 May 2013 07:17:23 +0000 (09:17 +0200)
php/commands/theme.php

index 9e8ad5a..f7670c8 100644 (file)
@@ -133,6 +133,7 @@ class Theme_Command extends \WP_CLI\CommandWithUpgrade {
                                'name' => $key,
                                'status' => $this->get_status( $theme ),
                                'update' => $this->has_update( $theme->get_stylesheet() ),
+                               'version' => $theme->get('Version'),
                                'update_id' => $theme->get_stylesheet(),
                        );
                }