[wp-trac] [WordPress Trac] #25170: Add actual file size to attachment publish meta box
WordPress Trac
noreply at wordpress.org
Sat Sep 7 05:01:27 UTC 2013
#25170: Add actual file size to attachment publish meta box
-------------------------+------------------
Reporter: desrosj | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by helen):
I don't mind this, and it is more of an average user thing than mime-type
(which we do show), but I'm not super sure we *need* it, either. What
makes this the most important piece of data?
Patch-wise, since filesize() could possibly return false, I might suggest
getting the file size and making sure it's something worth showing before
any output.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25170#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list