• Resolved itnok

    (@itnok)


    Hi there, this plugin has not been updated since a long time, but it works pretty well also in WP v4.1.1.

    There is an annoying notice though caused by line #77 in user-photo.php.

    I’d love to see the plugin fixed. The fix is pretty straight forward:

    @@ -74,7 +74,7 @@ $userphoto_prevent_override_avatar = false;

    # Load up the localization file if we’re using WordPress in a different language
    # Place it in the “localization” folder and name it “user-photo-[value in wp-config].mo”
    -load_plugin_textdomain(‘user-photo’, PLUGINDIR . ‘/user-photo/localization’); #(thanks Pakus)
    +load_plugin_textdomain(‘user-photo’, false, ‘/user-photo/localization’); #(thanks Pakus)

    What’s the procedure to have this chamge integrated in the plugin?

    Who should I notify?

    Thank you

    https://www.ads-software.com/plugins/user-photo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[ERROR] Deprecated syntax for function load_plugin_textdomain’ is closed to new replies.