From 1eda9654da06715798cbf911372c0c13e5baf7ca Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Fri, 13 Oct 2017 02:09:42 +0000 Subject: [PATCH] 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 --- src/wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-login.php b/src/wp-login.php index 9bd4b2a6b0..b5d0e4a8d5 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -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; }