[wp-trac] [WordPress Trac] #33214: Allow media file size to be set from metadata when viewing media modal

WordPress Trac noreply at wordpress.org
Wed Dec 23 21:39:36 UTC 2015


#33214: Allow media file size to be set from metadata when viewing media modal
-------------------------------------+-----------------------------
 Reporter:  polevaultweb             |       Owner:  wonderboymusic
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.4
Component:  Media                    |     Version:  3.5
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by drywallbmb):

 This is great, but is there anywhere in core where the filesize is
 actually being stored in the metadata? From what I can tell, these queries
 are always going to turn up nothing and wind up having to actually look at
 the filesystem to get the file size. In which case, why add this overhead
 of asking the DB/metadata first?

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


More information about the wp-trac mailing list