Skip to content

Commit

Permalink
Fix php warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelloPerathoner committed Mar 19, 2024
1 parent e24db40 commit 50e4312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/cap-lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ("<pre>$mo_path</pre>\n");
return \load_textdomain ($domain, $mo_path);
Expand Down

0 comments on commit 50e4312

Please sign in to comment.