[wp-trac] [WordPress Trac] #37037: size_format() incorrectly displays `kB` with small `k`
WordPress Trac
noreply at wordpress.org
Tue Jun 7 16:56:04 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 DrewAPicture):
Replying to [comment:6 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?
Yes, let's standardize on uppercase. If either you or @dashaluna would
like to generate a patch, that would be fine :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37037#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list