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

WordPress Trac noreply at wordpress.org
Wed Mar 16 01:13:12 UTC 2022

#49412: Store filesize media metadata
 Reporter:  Cybr                             |       Owner:  spacedmonkey
     Type:  feature request                  |      Status:  closed
 Priority:  normal                           |   Milestone:  6.0
Component:  Media                            |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  performance

Comment (by dlh):

 Apologies if I missed it, but I'm curious what the reason is for using the
 error suppression operator with `filesize()` in [52837]? The two calls to
 `filesize()` that were replaced with `wp_filesize()` didn't use it, and it
 seems to go against other efforts such as #24780.

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

More information about the wp-trac mailing list