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

Merge branch 'fix/deprecated_functions' into 'master'

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

See merge request !38
parents 2372bfc0 35e15c2d
No related branches found
Tags 2.1.1
1 merge request!38fix: The parameter "false" at position #2 of load_plugin_textdomain() has been...
Pipeline #296508 passed with warnings with stages
in 48 seconds
## [2.1.1] - 2023-12-12
### Fixed
- fixed deprecated load_plugin_textdomain function required by the WordPress repository checker. False is no longer a valid option at position 2
## [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.
Finish editing this message first!
Please register or to comment