diff --git a/CHANGELOG.md b/CHANGELOG.md index 79a660cb0f0dff0b080be136eb2d424e1a8e9dfb..8390fc545287c6960357c5652b7d9d7501e38ad0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2.1.1] - 2023-12-12 +### Fixed +- fixed deprecated functions + ## [2.1.0] - 2023-12-11 ### Added - added the possibility to translate common phrases diff --git a/src/Plugin/AbstractPlugin.php b/src/Plugin/AbstractPlugin.php index 51f5969b6236ebaebc3d60679a0525cf6cb99fe8..3ffd500017f0d1d81efb1d9d39353725a49cfc4f 100644 --- a/src/Plugin/AbstractPlugin.php +++ b/src/Plugin/AbstractPlugin.php @@ -164,7 +164,7 @@ abstract class AbstractPlugin extends SlimPlugin { * @return void */ public function load_plugin_text_domain() { - load_plugin_textdomain( $this->get_text_domain(), false, $this->get_namespace() . '/lang/' ); + load_plugin_textdomain( $this->get_text_domain(), '', $this->get_namespace() . '/lang/' ); } /**