From b4d7b91b4af9ce075c99b6c176bbea4b0728f78a Mon Sep 17 00:00:00 2001 From: Himehane <36065996+Himehane@users.noreply.github.com> Date: Mon, 18 Feb 2019 12:43:03 +0800 Subject: [PATCH] bug fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1311行,mb_substr是方法名,漏了'' --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index dc38880..b4bc36f 100644 --- a/functions.php +++ b/functions.php @@ -1308,7 +1308,7 @@ function GBsubstr($string, $start, $length) { } function excerpt_length($exp) { - if (!function_exists(mb_substr)) { + if (!function_exists('mb_substr')) { $exp = GBsubstr($exp, 0, 80); } else { /*