[wp-trac] [WordPress Trac] #25170: Add actual file size to attachment publish meta box

WordPress Trac noreply at wordpress.org
Mon Sep 9 21:16:24 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 commit  |
------------------------------+------------------

Comment (by desrosj):

 Replying to [comment:10 helen]:
 > I'm down with showing original file size, maybe removing a couple other
 sections by default (file type, mime type). Don't think we should do
 anything about intermediate image sizes here - that sounds like a plugin
 or in an improved image editor thing.

 I agree with mime type, but I feel that file type could still be useful to
 many users. Is a file a PDF or a DOC? Is an image a PNG or JPG?

 If I were to suggest other fields that would should be considered for
 removal, I would suggest audio codec. A value such as ISO/IEC 14496-3 AAC
 is probably not useful to a majority of people.

 Also noticed while digging through this that for audio & video files, mime
 type could potentially be displayed twice. The current file type field
 outputs the file extension, or the mime type if that fails. Patching it so
 file type will only be shown if an extension is found in case someone
 decides to re-include mime type with the filters from #25171.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25170#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list