[wp-testers] WP2.0 - Is author.php unchanged?

owlservice owlservice at gmail.com
Thu Jan 26 18:19:19 GMT 2006


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?

Thanks a bunch


More information about the wp-testers mailing list