parent
126b6e1d29
commit
637302702c
|
@ -199,7 +199,9 @@ class REST_Bulkedit_Controller extends REST_Controller {
|
|||
|
||||
if (isset($body['items_ids']) && is_array($body['items_ids']) && !empty($body['items_ids'])) {
|
||||
$args['items_ids'] = $body['items_ids'];
|
||||
// TODO: recieve and pass sort options
|
||||
if (isset($body['options'])) {
|
||||
$args['options'] = $body['options'];
|
||||
}
|
||||
} elseif ( isset($body['use_query']) && $body['use_query'] ) {
|
||||
|
||||
unset($body['use_query']['paged']);
|
||||
|
|
Loading…
Reference in New Issue