[Bb-trac] [bbPress] #1082: tag sizes in the cloud shouldn't have 14
decimal places
bbPress
bb-trac at lists.bbpress.org
Tue May 5 07:38:20 GMT 2009
#1082: tag sizes in the cloud shouldn't have 14 decimal places
----------------------+-----------------------------------------------------
Reporter: _ck_ | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.0-beta
Component: Back-end | Version: 0.9
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I think tag sizes should be rounded to 4 decimal places instead of 14 in
the tag cloud.
With 100 tags thats a full 1k or so of wasted transmission on every front
page.
There's no way CSS takes into account anything after that 4th decimal
digit.
This happens in function bb_get_tag_heat_map in template-functions.php
roughly in the middle of the function, maybe change to
`round( $smallest + ( ( $count - $min_count ) * $fontstep ),4 )`
--
Ticket URL: <http://trac.bbpress.org/ticket/1082>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list