[wp-trac] [WordPress Trac] #4621: Error in wp_generate_tag_cloud
 when using DESC order
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Thu Jul 12 10:38:34 GMT 2007
    
    
  
#4621: Error in wp_generate_tag_cloud when using DESC order
------------------------+---------------------------------------------------
 Reporter:  bgracewood  |       Owner:  anonymous  
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  2.3 (trunk)
Component:  General     |     Version:             
 Severity:  normal      |    Keywords:             
------------------------+---------------------------------------------------
 In wp_generate_tag_cloud within category_template.php we have:
 if ( 'DESC' == $order )
   $counts = array_reverse( $tag_counts, true );
 $tag_counts is incorrect.  This should read
 if ( 'DESC' == $order )
   $counts = array_reverse( $counts, true );
-- 
Ticket URL: <http://trac.wordpress.org/ticket/4621>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list