diff --git a/wp-includes/block-supports/duotone.php b/wp-includes/block-supports/duotone.php index 0e04cb1631f..76542d8e37c 100644 --- a/wp-includes/block-supports/duotone.php +++ b/wp-includes/block-supports/duotone.php @@ -130,10 +130,10 @@ function wp_tinycolor_rgb_to_rgb( $rgb_color ) { */ function wp_tinycolor_hue_to_rgb( $p, $q, $t ) { if ( $t < 0 ) { - $t += 1; + ++$t; } if ( $t > 1 ) { - $t -= 1; + --$t; } if ( $t < 1 / 6 ) { return $p + ( $q - $p ) * 6 * $t; diff --git a/wp-includes/version.php b/wp-includes/version.php index a5ee1390037..e1b34867e20 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55139'; +$wp_version = '6.2-alpha-55140'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.