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 9d33eaa475..1a316308fe 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 @@ -978,7 +978,10 @@ class WP_REST_Terms_Controller extends WP_REST_Controller { $query_params['slug'] = array( 'description' => __( 'Limit result set to terms with a specific slug.' ), - 'type' => 'string', + 'type' => 'array', + 'items' => array( + 'type' => 'string' + ), ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index c7bd8aea01..60768e10cb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40372'; +$wp_version = '4.8-alpha-40376'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.