WordPress.org

Make WordPress Core

Changeset 35090


Ignore:
Timestamp:
10/12/2015 11:27:18 PM (4 years ago)
Author:
johnbillion
Message:

Add missing @since params and update the docs for site_icon_url() and has_site_icon().

See #32246

File:
1 edited

Legend:

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

    r35064 r35090  
    759759 * Displays the Site Icon URL.
    760760 *
    761  * @param  int    $size    Size of the site icon.
    762  * @param  string $url     Fallback url if no site icon is found.
    763  * @param  int    $blog_id Id of the blog to get the site icon for.
     761 * @since 4.3.0
     762 *
     763 * @param int    $size    Optional. Size of the site icon. Default 512 (pixels).
     764 * @param string $url     Optional. Fallback url if no site icon is found. Default empty.
     765 * @param int    $blog_id Optional. ID of the blog to get the site icon for. Default current blog.
    764766 */
    765767function site_icon_url( $size = 512, $url = '', $blog_id = 0 ) {
     
    770772 * Whether the site has a Site Icon.
    771773 *
    772  * @param int $blog_id Optional. Blog ID. Default: Current blog.
    773  * @return bool
     774 * @since 4.3.0
     775 *
     776 * @param int $blog_id Optional. ID of the blog in question. Default current blog.
     777 * @return bool Whether the site has a site icon or not.
    774778 */
    775779function has_site_icon( $blog_id = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.