[wp-testers] WP2.0 - Is author.php unchanged?
Ben
frotzed at gmail.com
Fri Jan 27 01:36:06 GMT 2006
Speaking of 2.0.1 - - do you know about when this may hit the net? I
mean, ballpark here, 1 month? 6 months? A year?
On 1/26/06, Ryan Boren <ryan at boren.nu> wrote:
> On Thu, 2006-01-26 at 18:19 +0000, owlservice wrote:
> > Hi all,
> >
> > I use a customised author.php that worked flawlessly with 1.52 (see here) -
> > http://www.elyonline.co.uk/archives/author/ad/ but now I have upgraded to
> > WP2.0 I get this: http://www.elycity.info/author/ad/
> >
> > It seems that something (wp names?) in my query has changed. Pastebin of
> > author.php here: http://pastebin.com/524276
> >
> > 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;
> > ?>
> >
> > Has anything in the core changed to stop this working?
>
>
> That part works fine. Later on in author.php, however, you use
> user_firstname, user_lastname, and user_description. These were changed
> to first_name, last_name, and description in 2.0, but we forgot to
> reatin the old names for backwards compat. You can update to the new
> variable names to get things working. I'll fix this in 2.0.1 so that
> both old and new names are available.
>
> Ryan
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
--
Speedy delivery,
Ben Gray
More information about the wp-testers
mailing list