Make WordPress Core

Changeset 35064


Ignore:
Timestamp:
10/12/2015 04:37:13 PM (9 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r34784 r35064  
    727727 * Returns the Site Icon URL.
    728728 *
    729  * @param  int    $size    Size of the site icon.
    730  * @param  string $url     Fallback url if no site icon is found.
    731  * @param  int    $blog_id Id of the blog to get the site icon for.
    732  * @return string          Site Icon URL.
     729 * @since 4.3.0
     730 *
     731 * @param int    $size    Optional. Size of the site icon. Default 512 (pixels).
     732 * @param string $url     Optional. Fallback url if no site icon is found. Default empty.
     733 * @param int    $blog_id Optional. ID of the blog to get the site icon for. Default current blog.
     734 * @return string Site Icon URL.
    733735 */
    734736function get_site_icon_url( $size = 512, $url = '', $blog_id = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.