diff --git a/wp-includes/rest-api.php b/wp-includes/rest-api.php index 8b38564e4b..8b791d4417 100644 --- a/wp-includes/rest-api.php +++ b/wp-includes/rest-api.php @@ -1269,7 +1269,7 @@ function rest_get_avatar_sizes() { * @param string $date RFC3339 timestamp. * @param bool $force_utc Optional. Whether to force UTC timezone instead of using * the timestamp's timezone. Default false. - * @return int Unix timestamp. + * @return int|false Unix timestamp on success, false on failure. */ function rest_parse_date( $date, $force_utc = false ) { if ( $force_utc ) { @@ -1291,7 +1291,7 @@ function rest_parse_date( $date, $force_utc = false ) { * @since 5.4.0 * * @param string $color 3 or 6 digit hex color (with #). - * @return string|false + * @return string|false Color value on success, false on failure. */ function rest_parse_hex_color( $color ) { $regex = '|^#([A-Fa-f0-9]{3}){1,2}$|'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 82155601bd..7febf5d769 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58266'; +$wp_version = '6.6-alpha-58267'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.