mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 16:01:37 +01:00
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:
parent
450cbb3e81
commit
90b4ee93b3
wp-includes
@ -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' );
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user