diff --git a/src/wp-includes/block-supports/typography.php b/src/wp-includes/block-supports/typography.php index 6204ed02b6f86..92e6298313d47 100644 --- a/src/wp-includes/block-supports/typography.php +++ b/src/wp-includes/block-supports/typography.php @@ -282,10 +282,11 @@ function wp_apply_typography_support( $block_type, $block_attributes ) { * * It is necessary to parse older blocks whose typography styles contain presets. * * It mostly replaces the deprecated `wp_typography_get_css_variable_inline_style()`, * but skips compiling a CSS declaration as the style engine takes over this role. - * @link https://github.com/wordpress/gutenberg/pull/27555 * * @since 6.1.0 * + * @link https://github.com/wordpress/gutenberg/pull/27555 + * * @param string $style_value A raw style value for a single typography feature from a block's style attribute. * @param string $css_property Slug for the CSS property the inline style sets. * @return string A CSS inline style value. diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 1eac319870be2..969798c845e6a 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -4864,13 +4864,13 @@ function wp_img_tag_add_loading_attr( $image, $context ) { * Direct port of TinyColor's function, lightly simplified to maintain * consistency with TinyColor. * - * @link https://github.com/bgrins/TinyColor - * * @since 5.8.0 * @deprecated 6.3.0 * * @access private * + * @link https://github.com/bgrins/TinyColor + * * @param mixed $n Number of unknown type. * @param int $max Upper value of the range to bound to. * @return float Value in the range [0, 1]. @@ -4901,13 +4901,13 @@ function wp_tinycolor_bound01( $n, $max ) { * Direct port of tinycolor's boundAlpha function to maintain consistency with * how tinycolor works. * - * @link https://github.com/bgrins/TinyColor - * * @since 5.9.0 * @deprecated 6.3.0 * * @access private * + * @link https://github.com/bgrins/TinyColor + * * @param mixed $n Number of unknown type. * @return float Value in the range [0,1]. */ @@ -4929,13 +4929,13 @@ function _wp_tinycolor_bound_alpha( $n ) { * Direct port of TinyColor's function, lightly simplified to maintain * consistency with TinyColor. * - * @link https://github.com/bgrins/TinyColor - * * @since 5.8.0 * @deprecated 6.3.0 * * @access private * + * @link https://github.com/bgrins/TinyColor + * * @param array $rgb_color RGB object. * @return array Rounded and converted RGB object. */ @@ -4955,13 +4955,13 @@ function wp_tinycolor_rgb_to_rgb( $rgb_color ) { * Direct port of TinyColor's function, lightly simplified to maintain * consistency with TinyColor. * - * @link https://github.com/bgrins/TinyColor - * * @since 5.8.0 * @deprecated 6.3.0 * * @access private * + * @link https://github.com/bgrins/TinyColor + * * @param float $p first component. * @param float $q second component. * @param float $t third component. @@ -4994,13 +4994,13 @@ function wp_tinycolor_hue_to_rgb( $p, $q, $t ) { * Direct port of TinyColor's function, lightly simplified to maintain * consistency with TinyColor. * - * @link https://github.com/bgrins/TinyColor - * * @since 5.8.0 * @deprecated 6.3.0 * * @access private * + * @link https://github.com/bgrins/TinyColor + * * @param array $hsl_color HSL object. * @return array Rounded and converted RGB object. */ @@ -5038,15 +5038,15 @@ function wp_tinycolor_hsl_to_rgb( $hsl_color ) { * Direct port of TinyColor's function, lightly simplified to maintain * consistency with TinyColor. * - * @link https://github.com/bgrins/TinyColor - * @link https://github.com/casesandberg/react-color/ - * * @since 5.8.0 * @since 5.9.0 Added alpha processing. * @deprecated 6.3.0 * * @access private * + * @link https://github.com/bgrins/TinyColor + * @link https://github.com/casesandberg/react-color/ + * * @param string $color_str CSS color string. * @return array RGB object. */