[wp-trac] Re: [WordPress Trac] #5172: Adding classes to
wp_generate_tag_cloud
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 26 13:58:47 GMT 2009
#5172: Adding classes to wp_generate_tag_cloud
-------------------------+--------------------------------------------------
Reporter: chmac | Owner: westi
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Template | Version:
Severity: normal | Keywords: needs-patch wp_generate_tag_cloudk, wp_tag_cloud
-------------------------+--------------------------------------------------
Comment(by hakre):
I take my comment over from #8903 for further reference:
* add new function wp_generate_tag_cloud_array() that takes care of data
only
* that data should handle the absolute weight (min-max) as well as
relative (1-5)
* use the new function on your own will
* update wp_genereate_tag_cloud() to use the new function as well.
going that route will seperate the concerns and refactor
wp_generate_tag_cloud() a bit.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/5172#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list