[wp-trac] [WordPress Trac] #12072: the_author_meta()

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 29 15:04:08 UTC 2010


#12072: the_author_meta()
--------------------------+-------------------------------------------------
 Reporter:  ramiy         |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:  2.9    
 Severity:  normal        |   Resolution:  wontfix
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by ramiy):

 in '''archive.php''' i echo the H1 title befor the loop.

 {{{
 if (is_category()) : echo single_cat_title();
 elseif (is_tag()) :  echo single_tag_title();
 elseif (is_author()) : the_author_meta('display_name');
 elseif ...
 endif;
 }}}

 how do i get $user_id in archive.php?

 and why in 2.8 it worked without any problem?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12072#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list