[wp-trac] [WordPress Trac] #37037: size_format() incorrectly displays `kB` with small `k`

WordPress Trac noreply at wordpress.org
Tue Jun 7 11:41:22 UTC 2016


#37037: size_format() incorrectly displays `kB` with small `k`
----------------------------------------+------------------------------
 Reporter:  dashaluna                   |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  General                     |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------------------

Comment (by dashaluna):

 I feel that whatever the decision will be, it should be consistent. As
 we're displaying file sizes in a table with all measurements being in
 capitals and `kB` looks like an oversight.

 You get something looking:

 GB
 MB
 kB
 B

 Sorry for being pedantic :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37037#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list