Docs: Improve documentation for bloginfo()
including cross-reference info for the $show
parameter passed through to get_bloginfo()
.
See #35581. git-svn-id: https://develop.svn.wordpress.org/trunk@36380 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e23986bdb3
commit
ad00ffffe4
@ -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' );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user