OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0021a73
)
Show version on wp theme status by default
author
tolgap
<tolga@hoppinger.com>
Wed, 1 May 2013 07:17:23 +0000
(09:17 +0200)
committer
tolgap
<tolga@hoppinger.com>
Wed, 1 May 2013 07:17:23 +0000
(09:17 +0200)
php/commands/theme.php
patch
|
blob
|
history
diff --git
a/php/commands/theme.php
b/php/commands/theme.php
index
9e8ad5a
..
f7670c8
100644
(file)
--- a/
php/commands/theme.php
+++ b/
php/commands/theme.php
@@
-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(),
);
}