Skip to content
Snippets Groups Projects
Commit dd824937 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 c89382f7
No related branches found
No related tags found
1 merge request!37fix: The parameter "false" at position #2 of load_plugin_textdomain() has been...
Pipeline #296473 failed with stages
in 1 minute and 8 seconds
......@@ -83,7 +83,7 @@ abstract class AbstractPlugin implements \WPDesk_Translable {
* @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