[wp-trac] [WordPress Trac] #16421: Display Name and others within get / update user meta functions
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 31 07:50:38 UTC 2011
#16421: Display Name and others within get / update user meta functions
--------------------------+-----------------------------
Reporter: sc0ttkclark | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
Something I'd like to see implemented in a future version is the ability
to use this type of code to update single values for a user
{{{
$display_name = get_user_meta($userid,'display_name',true);
$email = get_user_meta($userid,'user_email',true);
$newemail = 'my at email.com';
update_user_meta($userid,'user_email',$newemail);
}}}
I'd like to see this be possible for the following fields:
user_login
user_pass
user_nicename
user_email
user_url
user_registered
display_name
Patch to come this week..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16421>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list