diff --git a/functions.php b/functions.php index 12d788f..ed4e694 100644 --- a/functions.php +++ b/functions.php @@ -179,7 +179,7 @@ function transform(string $transform):string { $transform = preg_replace('#é#', 'é', $transform); $transform = preg_replace('#è#', 'è', $transform); - foreach (array("[", "]") as $toescape) + foreach (["[", "]"] as $toescape) $transform = str_replace ($toescape, "$" . $toescape . "$", $transform); $transform = html_entity_decode($transform, ENT_QUOTES, "utf-8" );