diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php index 4e90f4fba2..37fa0a0e73 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php @@ -239,7 +239,7 @@ class WP_REST_Block_Directory_Controller extends WP_REST_Controller { ), 'rating' => array( 'description' => __( 'The star rating of the block.' ), - 'type' => 'integer', + 'type' => 'number', 'context' => array( 'view' ), ), 'rating_count' => array( @@ -249,12 +249,12 @@ class WP_REST_Block_Directory_Controller extends WP_REST_Controller { ), 'active_installs' => array( 'description' => __( 'The number sites that have activated this block.' ), - 'type' => 'string', + 'type' => 'integer', 'context' => array( 'view' ), ), 'author_block_rating' => array( 'description' => __( 'The average rating of blocks published by the same author.' ), - 'type' => 'integer', + 'type' => 'number', 'context' => array( 'view' ), ), 'author_block_count' => array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 4a202a848f..6e6210dce6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta3-53314'; +$wp_version = '6.0-beta3-53315'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.