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
This commit is part of merge request !38. Comments created here will be created in the context of that merge request.
## [2.1.1] - 2023-12-12
### Fixed
- fixed deprecated functions
## [2.1.0] - 2023-12-11 ## [2.1.0] - 2023-12-11
### Added ### Added
- added the possibility to translate common phrases - added the possibility to translate common phrases
......
...@@ -164,7 +164,7 @@ abstract class AbstractPlugin extends SlimPlugin { ...@@ -164,7 +164,7 @@ abstract class AbstractPlugin extends SlimPlugin {
* @return void * @return void
*/ */
public function load_plugin_text_domain() { 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.
Please register or to comment