WordPress.org

Ready to get started?Download WordPress

Forums

Event Calendar 3 for PHP 5.3
'load_plugin_textdomain bug, solution (1 post)

  1. sarneil
    Member
    Posted 1 year ago #

    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');

    http://wordpress.org/extend/plugins/event-calendar-3-for-php-53/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic