[wp-testers] WP2.0 - Is author.php unchanged?
David House
dmhouse at gmail.com
Thu Jan 26 20:59:48 GMT 2006
On 26/01/06, owlservice <owlservice at gmail.com> wrote:
> I guess this is the bit not working:
>
> <?php
> if(get_query_var('author_name')) :
> $curauth = get_userdatabylogin(get_query_var('author_name'));
> else :
> $curauth = get_userdata(get_query_var('author'));
> endif;
> ?>
Both of those should still work. What exactly is happening to make you
say 'it isn't working'? Is $curauth not being filled? What does
var_dump($curauth) reveal?
--
-David House, dmhouse at gmail.com, http://xmouse.ithium.net
More information about the wp-testers
mailing list