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:
03fa327
)
Whoops! parse_error fixed.
author
jtsternberg
<me@jtsternberg.com>
Wed, 7 Aug 2013 19:42:03 +0000
(15:42 -0400)
committer
jtsternberg
<me@jtsternberg.com>
Wed, 7 Aug 2013 19:42:03 +0000
(15:42 -0400)
php/WP_CLI/CommandWithUpgrade.php
patch
|
blob
|
history
diff --git
a/php/WP_CLI/CommandWithUpgrade.php
b/php/WP_CLI/CommandWithUpgrade.php
index
32f99da
..
b50803d
100644
(file)
--- a/
php/WP_CLI/CommandWithUpgrade.php
+++ b/
php/WP_CLI/CommandWithUpgrade.php
@@
-338,7
+338,7
@@
abstract class CommandWithUpgrade extends \WP_CLI_Command {
// @TODO https://github.com/wp-cli/wp-cli/issues/635
if ( isset( $assoc_args['interactive'] ) ) {
// Add key as a field
- $fields = array_merge( array( 'key' ), $fields )
: $fields
;
+ $fields = array_merge( array( 'key' ), $fields );
// & infuse object with $key
foreach ( $data as $key => $item ) {
$item->key = $key;