WordPress.org

Support

Support » Reviews » User Photo » Great plugin but deprecated

Great plugin but deprecated

  • Can you please replace the lines in user-photo.php:

    77:
    load_plugin_textdomain(‘user-photo’, false, dirname(plugin_basename(__FILE__)) . ‘/localization’);

    671:
    add_options_page(‘User Photo’, ‘User Photo’, ‘manage_options’, __FILE__, ‘userphoto_options_page’);

    Thanks for your work!

Viewing 1 replies (of 1 total)
  • And please update lines 496-499:

    if (isset($error) and $error)
    	update_usermeta($userID, 'userphoto_error', $error);
    else
    	delete_user_meta($userID, 'userphoto_error');
Viewing 1 replies (of 1 total)
  • The topic ‘Great plugin but deprecated’ is closed to new replies.
Skip to toolbar