[wp-hackers] WP No longer display user emails
Mark Harwood
mark at phunky.co.uk
Tue Feb 7 09:22:36 GMT 2006
I dont think you quite got what i was stating, the functions dont return
the email value in the array for use at all, not even thru the back end!
So you cant see the current email, so you cant link to it or display it
if the user wishes to which you have always been able to at least pull
the email back from the functions get_currentuserinfo() and such.
Like i say even the WP backend does not pull it back, the feild
user_email is within the $userdata array but it is blank.
This has only ouccured since i updated the WP2 site 2.01
Mark Jaquith wrote:
> 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/
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list