The Gutenberg plugin provides editing, customization, and site building features to WordPress. This beta plugin allows you to…
About Custom User Profile Photo
This plugin allows WordPress users to easily upload or specify a custom profile photo for their user profile. It adds a custom set of fields to the user profile page and allows users to upload a photo using the WordPress Media Uploader or by specifying an external URL. The plugin also filters the get_avatar() function in WordPress themes and provides code to retrieve and display the custom profile photo on the front-end of the website.Screenshots





Changelog
0.5.3
- Addressed an issue where an object being passed into
cupp_get_user_by_id_or_emailcould potentially be the WP_Comment object.
0.5.2
- Fixed issue with a PHP warning when getting the user with the WP_User object.
0.5.1
- Fixed issue with
update_user_attribute.
0.5
- Major Update – please be sure to backup your site and db.
- Replaced
update_user_metawithupdate_user_attributeper WordPress VIP Standards. - Replaced
get_home_urlwithget_site_urlfor users where the edit image link was returning a 404. Credit: SOMTIJDS - Fixed textdomain loading issue.
- Added Spanish translation. Credit: David Pérez
- Updated and formatted code per PHPCS. Credit: jmichaelward
- Refactored multiple functions and variables for simplicity and compatibility. Credit: jmichaelward
0.4
- Major Update – please be sure to backup your site and db.
- The plugin now overrides the WordPress avatar by filtering the get_avatar() hook.
- The get_cupp_meta() function still exists and can be used to customize the output (this will eventually be deprecated).
0.3
- Changed the function which gets the attachment post ID by GUID to the WordPress core function attachment_url_to_postid() for better reliability. (Props to sqhendr).
0.2.7
- Added Hungarian Translation (Thanks to Harkály Gergő)
0.2.6
- Fixed a bug where the save function required a different capability than the upload function (courtesy of douglas_johnson).
0.2.5
- Tested with WordPress v4.1
- Fixed a bug where the external URL option would not return the URL with get_cupp_meta().
- Fixed a bug where the saved image did not correspond to the selected radio button.
- Replaced depricated update_usermeta with update_user_meta.
- Improved image selection functionality.
- Images now show immediately after selecting an uploaded item or entering an external URL.
- Added Dutch translation – Thanks Olaf Lederer
0.2.4
- Tested with WordPress v3.8
- Updated description text. Better explanation of how to quickly use this plugin.
0.2.3
- Beta version release.