[wp-hackers] WP No longer display user emails
Michael E. Hancock
mhancock at us.net
Thu Feb 9 15:21:08 GMT 2006
From: "Mark Harwood" <mark at phunky.co.uk>
> Ive disabled all custom plugins and it still refuses to pull back the
> email in the $userdata->object
This in author.php is working at 2.0.1:
<?php
if(isset($_GET['author_name'])) :
$curauth = get_userdatabylogin($author_name);
else :
$curauth = get_userdata(intval($author));
endif;
?>
<h2>Posts by <?php echo $curauth->nickname; ?></h2>
Email is <?php echo $curauth->user_email; ?>
Michael E. Hancock
More information about the wp-hackers
mailing list