Title: [ERROR] Deprecated syntax for function load_plugin_textdomain
Last modified: August 22, 2016

---

# [ERROR] Deprecated syntax for function load_plugin_textdomain

 *  Resolved [itnok](https://wordpress.org/support/users/itnok/)
 * (@itnok)
 * [11 years ago](https://wordpress.org/support/topic/error-deprecated-syntax-for-function-load_plugin_textdomain/)
 * 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://wordpress.org/plugins/user-photo/](https://wordpress.org/plugins/user-photo/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Glen Scott](https://wordpress.org/support/users/glen_scott/)
 * (@glen_scott)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-deprecated-syntax-for-function-load_plugin_textdomain/#post-5900960)
 * This has been fixed in version 0.9.6

Viewing 1 replies (of 1 total)

The topic ‘[ERROR] Deprecated syntax for function load_plugin_textdomain’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-photo.svg)
 * [User Photo](https://wordpress.org/plugins/user-photo/)
 * [Support Threads](https://wordpress.org/support/plugin/user-photo/)
 * [Active Topics](https://wordpress.org/support/plugin/user-photo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-photo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-photo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Glen Scott](https://wordpress.org/support/users/glen_scott/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/error-deprecated-syntax-for-function-load_plugin_textdomain/#post-5900960)
 * Status: resolved