Login: Swap bloginfo()
usage for get_bloginfo()
.
[41843] introduced a use of `bloginfo()`, where it should be using `get_bloginfo()`. Props dlh. Fixes #34625. git-svn-id: https://develop.svn.wordpress.org/trunk@41850 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5c8c480d22
commit
1eda9654da
@ -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
Block a user