mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:38:51 +08:00
GH#36 Fix argument sequence
This commit is contained in:
parent
292a4566f1
commit
70d062deb2
1 changed files with 2 additions and 2 deletions
|
@ -274,9 +274,9 @@ class Command {
|
|||
$order = Utils\get_flag_value( $assoc_args, 'order', 'ASC' );
|
||||
$orderby = Utils\get_flag_value( $assoc_args, 'orderby', null );
|
||||
|
||||
self::profile_eval_ish( $order, $orderby, $assoc_args, function() use ( $statement ) {
|
||||
self::profile_eval_ish( $assoc_args, function() use ( $statement ) {
|
||||
eval( $statement );
|
||||
});
|
||||
}, $order, $orderby );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue