From d6a8139302f5769e62aad252794d4f3b920582c4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 27 Sep 2024 16:13:22 +0000 Subject: [PATCH] Twenty Nineteen: Add more missing documentation for helper function parameters. Follow-up to [59090]. Props viralsampat. See #62112. Built from https://develop.svn.wordpress.org/trunk@59102 git-svn-id: http://core.svn.wordpress.org/trunk@58498 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentynineteen/inc/icon-functions.php | 9 +++++++++ wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentynineteen/inc/icon-functions.php b/wp-content/themes/twentynineteen/inc/icon-functions.php index 900bcb665f..83a4768ec3 100644 --- a/wp-content/themes/twentynineteen/inc/icon-functions.php +++ b/wp-content/themes/twentynineteen/inc/icon-functions.php @@ -9,6 +9,9 @@ /** * Gets the SVG code for a given icon. + * + * @param string $icon The specific icon to retrieve. + * @param int $size The desired width and height for the SVG icon. */ function twentynineteen_get_icon_svg( $icon, $size = 24 ) { return TwentyNineteen_SVG_Icons::get_svg( 'ui', $icon, $size ); @@ -16,6 +19,9 @@ function twentynineteen_get_icon_svg( $icon, $size = 24 ) { /** * Gets the SVG code for a given social icon. + * + * @param string $icon The specific icon to retrieve. + * @param int $size The desired width and height for the SVG icon. */ function twentynineteen_get_social_icon_svg( $icon, $size = 24 ) { return TwentyNineteen_SVG_Icons::get_svg( 'social', $icon, $size ); @@ -23,6 +29,9 @@ function twentynineteen_get_social_icon_svg( $icon, $size = 24 ) { /** * Detects the social network from a URL and returns the SVG code for its icon. + * + * @param string $uri The URL of the social network link. + * @param int $size The desired width and height for the SVG icon. */ function twentynineteen_get_social_link_svg( $uri, $size = 24 ) { return TwentyNineteen_SVG_Icons::get_social_link_svg( $uri, $size ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ca53b02149..c6aa8b653d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-59101'; +$wp_version = '6.7-alpha-59102'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.