[wp-trac] [WordPress Trac] #13250: bad links in wp_generate_tag_cloud

WordPress Trac wp-trac at lists.automattic.com
Tue May 4 13:40:21 UTC 2010


#13250: bad links in wp_generate_tag_cloud
--------------------------+-------------------------------------------------
 Reporter:  luigisa       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9.3    
Component:  Template      |     Version:  2.9.2    
 Severity:  normal        |    Keywords:  tag cloud
--------------------------+-------------------------------------------------
 function wp_generate_tag_cloud( $tags, $args = '' ) {

    .......

    $tag_link = '#' != $tag->link ? esc_url( $tag->link ) : '#';

    ......
 }

 link property doesn't exist in the object tag


 *********

 My solution has been:

     $tag_link = get_tag_link($tag->term_id);

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


More information about the wp-trac mailing list