[wp-hackers] WP No longer display user emails

Mark Jaquith mark.wordpress at txfx.net
Tue Feb 7 03:34:04 GMT 2006


On Feb 6, 2006, at 7:40 AM, Mark Harwood wrote:

> Is there any known issuse with this? As it will still update the  
> email if you change it via the user admin but just will not display  
> the email in the form feild as it is not pulling it from the DB  
> with the two above functions

If the user is currently logged in, you shouldn't even display those  
form fields.  Whatever they write in them will get overwritten by  
their profile, so leaving them editable is confusing.  See the  
default WP theme for an example of how to code it so that it displays  
"You are currently logged in as NAME" and omits those form fields.
--
Mark Jaquith
http://txfx.net/




More information about the wp-hackers mailing list