[wp-trac] Re: [WordPress Trac] #4693: Make get_tags() honour $args

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 2 13:44:31 GMT 2007

#4693: Make get_tags() honour $args
 Reporter:  jorda    |        Owner:  anonymous  
     Type:  defect   |       Status:  new        
 Priority:  normal   |    Milestone:  2.3 (trunk)
Component:  General  |      Version:             
 Severity:  normal   |   Resolution:             
 Keywords:           |  
Comment (by Otto42):

 Replying to [comment:1 DD32]:
 > I just built a plugin which had a tagcloud in it, and i found the only
 way to produce the cloud was to copy the code from the tag cloud function
 into my own, A much better way might be to move cloud generation into a
 different function that accepts the list of items maybe? That way WP can
 have a single function that plugins can use to generate a cloud without
 re-inventing the wheel(Or tag cloud in this case)

 How about this patch? It will allow the wp_tag_cloud function to be called
 with echo=false, thus just returning the tag cloud and not outputting it.

Ticket URL: <http://trac.wordpress.org/ticket/4693#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list