FYI – load_plugin_textdomain is deprecated
-
On line 30 of cspassword.php your arguments for load_plugin_textdomain have trouble and are causing this plugin to spit out PHP notices all day, bloating the error log tremendously.
define('CSP_PLUGIN_NAME', dirname(plugin_basename(__FILE__)) ); load_plugin_textdomain('cs-password', PLUGINDIR . '/' . CSP_PLUGIN_NAME . '/lang/');
needs a third argument, the relative path to the plugins directory. More here: https://codex.wordpress.org/Function_Reference/load_plugin_textdomain
We’d appreciate it so much if you could update this.
Thank you!
- The topic ‘FYI – load_plugin_textdomain is deprecated’ is closed to new replies.