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 7e8c3f89e4..d7c26fa803 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 @@ -979,7 +979,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 9a8bc1849e..29ee69d98d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7.4-alpha-40426'; +$wp_version = '4.7.4-alpha-40427'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.