diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:22 +0000 |
commit | fc0a79914946dac00ccd51b1aacffe267de7210e (patch) | |
tree | 1403384efbfe8f8776ff60aaa40f7d535c02c822 /wp-includes/blocks/home-link.php | |
parent | Releasing progress-linux version 6.5.5+dfsg1-1~progress7.99u1. (diff) | |
download | wordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.tar.xz wordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.zip |
Merging upstream version 6.6.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/home-link.php')
-rw-r--r-- | wp-includes/blocks/home-link.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wp-includes/blocks/home-link.php b/wp-includes/blocks/home-link.php index 9ec0c18..fb72358 100644 --- a/wp-includes/blocks/home-link.php +++ b/wp-includes/blocks/home-link.php @@ -9,6 +9,8 @@ * Build an array with CSS classes and inline styles defining the colors * which will be applied to the home link markup in the front-end. * + * @since 6.0.0 + * * @param array $context home link block context. * @return array Colors CSS classes and inline styles. */ @@ -61,6 +63,8 @@ function block_core_home_link_build_css_colors( $context ) { * Build an array with CSS classes and inline styles defining the font sizes * which will be applied to the home link markup in the front-end. * + * @since 6.0.0 + * * @param array $context Home link block context. * @return array Font size CSS classes and inline styles. */ @@ -88,6 +92,8 @@ function block_core_home_link_build_css_font_sizes( $context ) { /** * Builds an array with classes and style for the li wrapper * + * @since 6.0.0 + * * @param array $context Home link block context. * @return string The li wrapper attributes. */ @@ -121,6 +127,8 @@ function block_core_home_link_build_li_wrapper_attributes( $context ) { /** * Renders the `core/home-link` block. * + * @since 6.0.0 + * * @param array $attributes The block attributes. * @param string $content The saved content. * @param WP_Block $block The parsed block. @@ -155,6 +163,8 @@ function render_block_core_home_link( $attributes, $content, $block ) { /** * Register the home block * + * @since 6.0.0 + * * @uses render_block_core_home_link() * @throws WP_Error An WP_Error exception parsing the block definition. */ |