Support » Plugin: Instapress » Notice to disable with load_plugin_textdomain

  • Hi there,

    You have a notice because you use the load_plugin_textdomain function with depreciate arguments.
    So, in the instagram.php file, on line 32/33, you can change:

    if(!load_plugin_textdomain('instagram','/wp-content/languages/')) // Nach Sprachdatei im wp-languages-Ordner suchen
    		load_plugin_textdomain('instagram','/wp-content/plugins/instapress/languages/'); // Default Sprachdatei laden

    By these:

    if(!load_plugin_textdomain('instagram',false,'/wp-content/languages/')) // Nach Sprachdatei im wp-languages-Ordner suchen
    		load_plugin_textdomain('instagram',false,'/wp-content/plugins/instapress/languages/'); // Default Sprachdatei laden


  • The topic ‘Notice to disable with load_plugin_textdomain’ is closed to new replies.