[wp-trac] [WordPress Trac] #5289: wp_list_authors doesnt work with echo=false

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 31 01:21:04 GMT 2007


#5289: wp_list_authors doesnt work with echo=false
----------------------+-----------------------------------------------------
 Reporter:  fgubert   |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.3.2    
Component:  Template  |     Version:  2.3.1    
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 if i use
 wp_list_authors('show_fullname=1&optioncount=0&hide_empty=1&echo=false');
 the content returns by echo. if echo=true too.

 at the author-template.php, is this:
 if ( !$echo )
         return $return;
 echo $return;

 if i replace by this works:
 if ($echo == "false") {
         return $return;
 } else {
         echo $return;
 }

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5289>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list