WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49412, comment 29


Ignore:
Timestamp:
05/20/2021 09:53:45 PM (4 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49412, comment 29

    initial v1  
    22
    33- It will only be added for the "full" image size. This may not be the uploaded/original image file if the image was resized on uploading.
    4 - It may be missing or unreliable (if the image was optimized by a plugin after uploading), and will be used primarily as cache when showing image info in wp_admin.
     4- It may be missing or unreliable (if the image was optimized by a plugin after uploading), and will be used primarily as cache when displaying image info in wp_admin.
    55- May be good to have some sort of a "backfill" functionality when `filesize` is missing. However that should happen "very sensibly". DB writes should be optimized (single write per page load) and happen only from wp-admin.