From 6e4fdc4cbf650f0173a43ac90f33a8a8211ba85b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:37:13 +0000 Subject: [PATCH] Docs: Improve documentation for `get_site_icon_url()`, introduced in [32994]. Adds a missing `@since` version, fixes optional parameter syntax, adds default values, and fixes the return description. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35064 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 48b8de9851..e7158b9021 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -726,10 +726,12 @@ function get_bloginfo( $show = '', $filter = 'raw' ) { /** * Returns the Site Icon URL. * - * @param int $size Size of the site icon. - * @param string $url Fallback url if no site icon is found. - * @param int $blog_id Id of the blog to get the site icon for. - * @return string Site Icon URL. + * @since 4.3.0 + * + * @param int $size Optional. Size of the site icon. Default 512 (pixels). + * @param string $url Optional. Fallback url if no site icon is found. Default empty. + * @param int $blog_id Optional. ID of the blog to get the site icon for. Default current blog. + * @return string Site Icon URL. */ function get_site_icon_url( $size = 512, $url = '', $blog_id = 0 ) { if ( $blog_id && is_multisite() ) {