From 7e7652795d8adca009bd876fc2b41b780cff4d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 9 Jun 2021 15:41:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/function.php b/function.php index 77ae4eb1..cafabd81 100644 --- a/function.php +++ b/function.php @@ -376,7 +376,7 @@ if (!function_exists('logger')) { } -if (!function_exists('trimAll')) { +if (!function_exists('trim_blank')) { /** @@ -387,7 +387,7 @@ if (!function_exists('trimAll')) { * @param bool $htmlTags * @return array|string|null */ - function trimAll(string $content, $len = 0, $encode = 'utf-8', $htmlTags = true): array|string|null + function trim_blank(string $content, $len = 0, $encode = 'utf-8', $htmlTags = true): array|string|null { $str = trim($content); if ($htmlTags) {