From 61115eac58dff55b321fb920442197e2bf6674a2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:38:24 +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. Built from https://develop.svn.wordpress.org/trunk@35064 git-svn-id: http://core.svn.wordpress.org/trunk@35029 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 10 ++++++---- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 48b8de9851..e7158b9021 100644 --- a/wp-includes/general-template.php +++ b/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() ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 42be57b215..0fa784ddcd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35063'; +$wp_version = '4.4-alpha-35064'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.