diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php index 5de792c041..c5cf1a7a4b 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php @@ -123,9 +123,11 @@ class WP_REST_Settings_Controller extends WP_REST_Controller { * @return mixed The prepared value. */ protected function prepare_value( $value, $schema ) { - // If the value is not valid by the schema, set the value to null. Null - // values are specifcally non-destructive so this will not cause overwriting - // the current invalid value to null. + /* + * If the value is not valid by the schema, set the value to null. + * Null values are specifically non-destructive, so this will not cause + * overwriting the current invalid value to null. + */ if ( is_wp_error( rest_validate_value_from_schema( $value, $schema ) ) ) { return null; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5410e77575..f08acb103a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta3-46470'; +$wp_version = '5.3-beta3-46471'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.