From 50e43127a30f77e35f52d4c4d911f620721afcfc Mon Sep 17 00:00:00 2001 From: Marcello Perathoner Date: Tue, 19 Mar 2024 13:37:23 +0100 Subject: [PATCH] Fix php warnings. --- plugins/cap-lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cap-lib/functions.php b/plugins/cap-lib/functions.php index 8e81eb62..c7247f71 100644 --- a/plugins/cap-lib/functions.php +++ b/plugins/cap-lib/functions.php @@ -336,7 +336,7 @@ function languages_dir_path () function load_textdomain ($domain) { $locale = apply_filters ('plugin_locale', determine_locale (), $domain); - $mo_file = "/${domain}-${locale}.mo"; + $mo_file = "/{$domain}-{$locale}.mo"; $mo_path = languages_dir_path () . $mo_file; // echo ("
$mo_path
\n"); return \load_textdomain ($domain, $mo_path);