diff --git a/src/WP_CLI/CommandWithUpgrade.php b/src/WP_CLI/CommandWithUpgrade.php index 10c7eed7..a759d541 100755 --- a/src/WP_CLI/CommandWithUpgrade.php +++ b/src/WP_CLI/CommandWithUpgrade.php @@ -627,7 +627,7 @@ private function get_minor_or_patch_updates( $items, $type, $insecure, $require_ foreach ( $items as $i => $item ) { try { $data = call_user_func( - [ $wp_org_api, "get_{$item_type}_info"], + [ $wp_org_api, "get_{$item_type}_info" ], $item['name'], // The default. 'en_US',