Make WordPress Core


Ignore:
Timestamp:
01/22/2016 08:16:11 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Improve documentation for bloginfo() including cross-reference info for the $show parameter passed through to get_bloginfo().

See #35581.

File:
1 edited

Legend:

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

    r36222 r36380  
    588588
    589589/**
    590  * Display information about the blog.
    591  *
    592  * @see get_bloginfo() For possible values for the parameter.
     590 * Displays information about the current site.
     591 *
    593592 * @since 0.71
    594593 *
    595  * @param string $show What to display.
    596  */
    597 function bloginfo( $show='' ) {
     594 * @see get_bloginfo() For possible `$show` values
     595 *
     596 * @param string $show Optional. Site information to display. Default empty.
     597 */
     598function bloginfo( $show = '' ) {
    598599    echo get_bloginfo( $show, 'display' );
    599600}
Note: See TracChangeset for help on using the changeset viewer.