diff --git a/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php b/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php index a447a3cdcf..b3ea89a86e 100644 --- a/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php +++ b/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php @@ -563,7 +563,7 @@ abstract class WP_REST_Meta_Fields { * * @since 5.3.0 * - * @param string $type + * @param string $type The schema type. * @return mixed */ protected function get_default_for_type( $type ) { @@ -577,7 +577,6 @@ abstract class WP_REST_Meta_Fields { case 'number': return 0.0; case 'array': - return array(); case 'object': return array(); default: diff --git a/wp-includes/version.php b/wp-includes/version.php index 466271c9d6..f929a7e977 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta1-46345'; +$wp_version = '5.3-beta1-46346'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.