[wp-trac] [WordPress Trac] #57459: Reexamine the usefulness of file size meta for images

WordPress Trac noreply at wordpress.org
Fri Jan 13 21:44:57 UTC 2023


#57459: Reexamine the usefulness of file size meta for images
-------------------------+-----------------------------
 Reporter:  azaozz       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------------

Comment (by azaozz):

 Thinking that moving most of the functionality that was added in #49412 to
 a (canonical) plugin would be best. Perhaps `wp_filesize()` can remain
 (not be deprecated) as it may be useful in other cases. But the "caching"
 of image file size in image meta would be better as a plugin, and will
 need a good documentation of how unreliable it is.

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


More information about the wp-trac mailing list