[wp-trac] [WordPress Trac] #49412: Store filesize media metadata

WordPress Trac noreply at wordpress.org
Wed Feb 12 06:08:38 UTC 2020


#49412: Store filesize media metadata
-----------------------------+-----------------------------
 Reporter:  Cybr             |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  performance
-----------------------------+-----------------------------

Comment (by SergeyBiryukov):

 For some context, WordPress does read the size from the `filesize` meta
 value in a few places, but it's only set for audio and video files from
 the data extracted by getID3() library. Related: comment:4:ticket:33214.

 Some history:
 * [23766] / #23673
 * [25403] / #25170
 * [34258] / #33214

 It would indeed be beneficial to store the file size in metadata for any
 attachment.

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


More information about the wp-trac mailing list