WordPress.org

Ready to get started?Download WordPress

Forums

Instapress
Notice to disable with load_plugin_textdomain (1 post)

  1. crewstyle
    Member
    Posted 1 year ago #

    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

    Regards,

    http://wordpress.org/extend/plugins/instapress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic