Issue #2838095 by cilefen, pjcdawkins: Only one site slogan character in site slogan when using PHP 7.1 (cherry picked from commit 8746bd3e)