Skip to content
Snippets Groups Projects
Commit f25a9e44 authored by Eryk Mika's avatar Eryk Mika
Browse files

fix: The parameter "false" at position #2 of load_plugin_textdomain() has been...

fix: The parameter "false" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0
parent 2372bfc0
No related branches found
No related tags found
1 merge request!38fix: The parameter "false" at position #2 of load_plugin_textdomain() has been...
Pipeline #296480 passed with warnings with stages
in 32 seconds
## [2.1.1] - 2023-12-12
### Fixed
- fixed deprecated functions
## [2.1.0] - 2023-12-11
### Added
- added the possibility to translate common phrases
......
......@@ -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/' );
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment