[wp-trac] [WordPress Trac] #16020: Upload custom avatar for user in Dashboard
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 15 22:02:13 UTC 2012
#16020: Upload custom avatar for user in Dashboard
-----------------------------------+-----------------------------
Reporter: computerwiz908 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Users | Version:
Severity: minor | Resolution:
Keywords: ux-feedback has-patch |
-----------------------------------+-----------------------------
Comment (by scribu):
There are some inconsistencies here:
{{{
153 $user->avatar_type = 'gravatar';
154 $user->custom_avatar = array();
155 $user->custom_avatar_rating = 'G';
}}}
First, you allow the user to upload multiple custom avatars, but he can
only set one custom_avatar_rating. I think it's best to only allow a
single custom avatar.
Also, why is `$user->has_custom_avatar = 'false';` set to the string
'false' rather than to the boolean false.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16020#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list