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

WordPress Trac wp-trac at lists.automattic.com
Tue May 4 14:18:29 UTC 2010


#13250: bad links in wp_generate_tag_cloud
--------------------------+-------------------------------------------------
 Reporter:  luigisa       |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  Template      |      Version:  2.9.2  
 Severity:  normal        |   Resolution:  invalid
 Keywords:  tag cloud     |  
--------------------------+-------------------------------------------------
Changes (by scribu):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.9.3 =>


Comment:

 wp_generate_tag_cloud() expects a list of term objects that do contain a
 link property. See above in wp_tag_cloud():

 {{{$tags[ $key ]->link = $link;}}}

 You're probably calling wp_generate_tag_cloud() without doing that.

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


More information about the wp-trac mailing list