[wp-trac] Re: [WordPress Trac] #4552: number argument in wp_tag_cloud is ignored

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 12 13:52:21 GMT 2007


#4552: number argument in wp_tag_cloud is ignored
-----------------------------------------------------+----------------------
 Reporter:  pgdx                                     |        Owner:  pgdx       
     Type:  defect                                   |       Status:  reopened   
 Priority:  normal                                   |    Milestone:  2.3 (trunk)
Component:  Template                                 |      Version:  2.3        
 Severity:  normal                                   |   Resolution:             
 Keywords:  tag cloud number wp_tag_cloud has-patch  |  
-----------------------------------------------------+----------------------
Comment (by DD32):

 Just added my contribution to this, Its designed to do 3 things:

  * Smart clipping by default, Removes items with less number of topics and
 retains the higher-valued tags, Allows it to retain the same A-Z view, yet
 limit it to a smaller number of items

  * Moved WP Tag links into wp_tag_cloud(), Allows wp_generate_tag_cloud()
 to be used for other purposes than the WP Tagging functions.
  * Further on that previous one, $tags can be an object, or array

 Seems to work as i intended, But with all the sorting thats going on :)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4552#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list