[wp-trac] [WordPress Trac] #25643: Upload size unit off by 1

WordPress Trac noreply at wordpress.org
Wed May 7 18:24:49 UTC 2014


#25643: Upload size unit off by 1
----------------------------------------+-----------------------------
 Reporter:  betzster                    |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.0
Component:  Upload                      |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  4.0-early has-patch commit  |     Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28343"]:
 {{{
 #!CommitTicketReference repository="" revision="28343"
 Leverage `size_format()` when displaying `max_upload_size`:
 * In `media_upload_form()`
 * The `uploader-inline` Underscore template in the media modal.

 Replaces 2 buggy inline implementations that could display size units off
 by one, or size values off by one.

 Fixes #25643.
 }}}

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


More information about the wp-trac mailing list