Login: Swap `bloginfo()` usage for `get_bloginfo()`.

[41843] introduced a use of `bloginfo()`, where it should be using `get_bloginfo()`.

Props dlh.
Fixes #34625.


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


git-svn-id: http://core.svn.wordpress.org/trunk@41684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2017-10-13 02:10:48 +00:00
parent a1879766ed
commit 95cfb7f5e4
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta2-41849';
$wp_version = '4.9-beta2-41850';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -140,7 +140,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) {
* while single sites get the header title.
*/
if ( is_multisite() ) {
$login_header_text = bloginfo( 'name' );
$login_header_text = get_bloginfo( 'name', 'display' );
} else {
$login_header_text = $login_header_title;
}