[wp-trac] [WordPress Trac] #22405: Easier expression of file sizes and other data amounts

WordPress Trac noreply at wordpress.org
Tue Oct 20 06:54:44 UTC 2015


#22405: Easier expression of file sizes and other data amounts
-------------------------+---------------------------
 Reporter:  nbachiyski   |       Owner:  DrewAPicture
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  4.4
Component:  General      |     Version:  3.5
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------------

Comment (by DrewAPicture):

 In [changeset:"35286"]:
 {{{
 #!CommitTicketReference repository="" revision="35286"
 Filesystem: Introduce constants to allow for easier expression of file
 sizes and other data amounts.

 Adds:
 * `KB_IN_BYTES` (kilobytes)
 * `MB_IN_BYTES` (megabytes)
 * `GB_IN_BYTES` (gigabytes)
 * `TB_IN_BYTES` (terabytes)

 Props nbachiyski, sudar.
 See #22405.
 }}}

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


More information about the wp-trac mailing list