REST API: Update description string of terms endpoint slug
parameter.
As a follow-up to [40376], and for consistency with the posts endpoint, we should indicate in the description that the `slug` filter parameter can accept multiple values. See #40027. git-svn-id: https://develop.svn.wordpress.org/trunk@40377 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
99de5d69d7
commit
66b4bb9809
@ -977,7 +977,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller {
|
||||
);
|
||||
|
||||
$query_params['slug'] = array(
|
||||
'description' => __( 'Limit result set to terms with a specific slug.' ),
|
||||
'description' => __( 'Limit result set to terms with one or more specific slugs.' ),
|
||||
'type' => 'array',
|
||||
'items' => array(
|
||||
'type' => 'string'
|
||||
|
Loading…
Reference in New Issue
Block a user