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:
f7f251a
)
wp plugin get: remove unreliable 'update' field
author
scribu
<mail@scribu.net>
Sun, 19 Jan 2014 17:22:47 +0000
(19:22 +0200)
committer
scribu
<mail@scribu.net>
Sun, 19 Jan 2014 17:22:50 +0000
(19:22 +0200)
we'd have to call wp_update_plugins() on each run, like we do for `wp
plugin status`
also, `wp theme get` doesn't have it
php/commands/plugin.php
patch
|
blob
|
history
diff --git
a/php/commands/plugin.php
b/php/commands/plugin.php
index
fd4932d
..
18465c5
100644
(file)
--- a/
php/commands/plugin.php
+++ b/
php/commands/plugin.php
@@
-393,7
+393,6
@@
class Plugin_Command extends \WP_CLI\CommandWithUpgrade {
'version' => $plugin_data['Version'],
'description' => wordwrap( $plugin_data['Description'] ),
'status' => $this->get_status( $file ),
- 'update' => $this->has_update( $file ),
);
$formatter = $this->get_formatter( $assoc_args );