From 1979815aef88988023c96a7514c12cbbf25e82bd Mon Sep 17 00:00:00 2001 From: James Nylen Date: Wed, 5 Apr 2017 21:08:43 +0000 Subject: [PATCH] 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 --- .../rest-api/endpoints/class-wp-rest-terms-controller.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php index 1a316308fe..2245ed7b9f 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php @@ -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' diff --git a/wp-includes/version.php b/wp-includes/version.php index 60768e10cb..9214f21257 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.