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.

Built from https://develop.svn.wordpress.org/trunk@40377


git-svn-id: http://core.svn.wordpress.org/trunk@40284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
James Nylen 2017-04-05 21:08:43 +00:00
parent 9f2d94b211
commit 1979815aef
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-40376';
$wp_version = '4.8-alpha-40377';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.