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
This commit is contained in:
Drew Jaynes 2015-10-12 16:38:24 +00:00
parent b1b3fc5deb
commit 61115eac58
2 changed files with 7 additions and 5 deletions

View File

@ -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() ) {

View File

@ -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.