[Plugin: Event Calendar 3 for PHP 5.3] 'load_plugin_textdomain bug, solution
-
If I set WP_DEBUG to true in my wp-config.php file, I got the following notice from php when using Events Calendar 3 for PHP:
Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available
In wp-content/plugins/event-calendar-3-for-php-53.php, there is this function call:
load_plugin_textdomain('ec3','wp-content/plugins/'.$mydir.'/gettext');
That 2-argument signature is deprecated. There should be three arguments, the second of which is “false, “. Like this :
load_plugin_textdomain('ec3',false,'wp-content/plugins/'.$mydir.'/gettext');
https://www.ads-software.com/extend/plugins/event-calendar-3-for-php-53/
- The topic ‘[Plugin: Event Calendar 3 for PHP 5.3] 'load_plugin_textdomain bug, solution’ is closed to new replies.