mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +01:00
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:
parent
9f2d94b211
commit
1979815aef
@ -977,7 +977,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$query_params['slug'] = array(
|
$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',
|
'type' => 'array',
|
||||||
'items' => array(
|
'items' => array(
|
||||||
'type' => 'string'
|
'type' => 'string'
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user