Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/wp-includes/block-supports/typography.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
26 changes: 13 additions & 13 deletions src/wp-includes/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down Expand Up @@ -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].
*/
Expand All @@ -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.
*/
Expand All @@ -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.
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down
Loading