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

WordPress Trac noreply at wordpress.org
Tue Jun 7 16:30:26 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 Presskopp):

 @DrewAPicture Why not, so you say it should be patched to KB?

 If so, we also have it in

 wp-includes/deprecated.php, L 3238
 {{{
         $units = array( 0 => 'B', 1 => 'kB', 2 => 'MB', 3 => 'GB', 4 =>
 'TB' );
 }}}

 As it's deprecated, would this also be needed to get patched?

 And what if @dashaluna wants to create a patch herself?

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


More information about the wp-trac mailing list