From ad00ffffe40795dd1736e73c0ea71ec0a913a9c1 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 22 Jan 2016 20:16:11 +0000 Subject: [PATCH] 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 --- src/wp-includes/general-template.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 3e13925bcc..cd9620fa87 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -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' ); }