mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
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:
parent
b1b3fc5deb
commit
61115eac58
@ -726,10 +726,12 @@ function get_bloginfo( $show = '', $filter = 'raw' ) {
|
|||||||
/**
|
/**
|
||||||
* Returns the Site Icon URL.
|
* Returns the Site Icon URL.
|
||||||
*
|
*
|
||||||
* @param int $size Size of the site icon.
|
* @since 4.3.0
|
||||||
* @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.
|
* @param int $size Optional. Size of the site icon. Default 512 (pixels).
|
||||||
* @return string Site Icon URL.
|
* @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 ) {
|
function get_site_icon_url( $size = 512, $url = '', $blog_id = 0 ) {
|
||||||
if ( $blog_id && is_multisite() ) {
|
if ( $blog_id && is_multisite() ) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user