fix authorid api parameter #330

This commit is contained in:
leogermani 2019-11-07 16:59:09 -03:00
parent 0388a46cbd
commit 5130ce8cf9
1 changed files with 30 additions and 33 deletions

View File

@ -313,10 +313,7 @@ class REST_Controller extends \WP_REST_Controller {
$query_params['authorid'] = array(
'description' => __("Limit result set to objects assigned to specific authors by id.", 'tainacan'),
'type' => 'array',
'items' => array(
'type' => 'integer',
),
);
$query_params['authorname'] = array(