WordPress.org

Ready to get started?Download WordPress

Forums

User Photo
Great plugin but deprecated (2 posts)

4 stars
  1. thelfensdrfer
    Member
    Posted 1 year ago #

    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!

  2. thelfensdrfer
    Member
    Posted 1 year ago #

    And please update lines 496-499:

    if (isset($error) and $error)
    	update_usermeta($userID, 'userphoto_error', $error);
    else
    	delete_user_meta($userID, 'userphoto_error');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.