Skip to content

Commit

Permalink
Merge pull request #89 from joanrodas/dirnma-textdomain
Browse files Browse the repository at this point in the history
dirname for load textdomain
  • Loading branch information
joanrodas authored Jun 16, 2023
2 parents 3a2c56c + eb1a752 commit b49fff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Includes/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ private function load_dependencies()

public function load_plugin_textdomain()
{
load_plugin_textdomain('plugin-placeholder', false, PLUGIN_PLACEHOLDER_BASENAME . '/languages/');
load_plugin_textdomain('plugin-placeholder', false, dirname(PLUGIN_PLACEHOLDER_BASENAME) . '/languages/');
}
}

0 comments on commit b49fff1

Please sign in to comment.