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:
parent
a1879766ed
commit
95cfb7f5e4
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue