From 95cfb7f5e4b326b30e7cd74047d3c3bf791202df Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Fri, 13 Oct 2017 02:10:48 +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. Built from https://develop.svn.wordpress.org/trunk@41850 git-svn-id: http://core.svn.wordpress.org/trunk@41684 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index e3a889a48c..f94315de56 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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. diff --git a/wp-login.php b/wp-login.php index 9bd4b2a6b0..b5d0e4a8d5 100644 --- a/wp-login.php +++ b/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; }