[wp-trac] [WordPress Trac] #22405: Easier expression of file sizes and other data amounts
WordPress Trac
noreply at wordpress.org
Sat Nov 10 08:42:05 UTC 2012
#22405: Easier expression of file sizes and other data amounts
-----------------------------+-------------------------
Reporter: nbachiyski | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+-------------------------
In the spirit of #20987 writing {{{64 * 1024 * 1024 * 1024 * 1024}}} isn't
very readable and cool.
Here is a patch, which adds a couple of constants like {{{KB_IN_BYTES}}},
{{{MB_IN_BYTES}}}, etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22405>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list