[wp-trac] Re: [WordPress Trac] #5246: size_format doesn't work for TB

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 4 04:13:11 GMT 2007


#5246: size_format doesn't work for TB
-----------------------------------+----------------------------------------
 Reporter:  nbachiyski             |        Owner:  anonymous
     Type:  defect                 |       Status:  new      
 Priority:  normal                 |    Milestone:  2.4      
Component:  General                |      Version:           
 Severity:  normal                 |   Resolution:           
 Keywords:  size_format has-patch  |  
-----------------------------------+----------------------------------------
Comment (by tellyworth):

 Simpler patch included - this one just uses doubleval() in place of
 intval().

 Both pass unit tests incidentally - see test_size_format() in
 http://svn.automattic.com/wordpress-tests/wp-
 testcase/test_includes_functions.php.

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


More information about the wp-trac mailing list