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

WordPress Trac noreply at wordpress.org
Tue Oct 20 07:24:48 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:
-------------------------+---------------------------
Changes (by sudar):

 * keywords:  needs-patch => has-patch


Comment:

 In addition to the ones that I changed in the above patch I also found a
 couple of instances inside `wp-includes/ID3/*.php` and `wp-admin/includes
 /class-pclzip.php`.

 Since these were external libraries I didn't change them to use the
 *_IN_BYTES constants. Let me know If the hard coded numbers should be
 replaced with the constants even in these external libraries.

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


More information about the wp-trac mailing list