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

See #35581.

Built from https://develop.svn.wordpress.org/trunk@36380


git-svn-id: http://core.svn.wordpress.org/trunk@36347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-01-22 20:17:28 +00:00
parent 450cbb3e81
commit 90b4ee93b3
2 changed files with 6 additions and 5 deletions

View File

@ -587,14 +587,15 @@ function wp_meta() {
}
/**
* Display information about the blog.
* Displays information about the current site.
*
* @see get_bloginfo() For possible values for the parameter.
* @since 0.71
*
* @param string $show What to display.
* @see get_bloginfo() For possible `$show` values
*
* @param string $show Optional. Site information to display. Default empty.
*/
function bloginfo( $show='' ) {
function bloginfo( $show = '' ) {
echo get_bloginfo( $show, 'display' );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36379';
$wp_version = '4.5-alpha-36380';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.