Ticket #5246: size_format_double-r6350.patch
| File size_format_double-r6350.patch, 457 bytes (added by , 19 years ago) |
|---|
-
wordpress/wp-includes/functions.php
103 103 ); 104 104 105 105 foreach ( $quant as $unit => $mag ) 106 if ( intval( $bytes) >= $mag )106 if ( doubleval($bytes) >= $mag ) 107 107 return number_format_i18n( $bytes / $mag, $decimals ) . ' ' . $unit; 108 109 return false; 108 110 } 109 111 110 112