Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #49161, comment 6


Ignore:
Timestamp:
11/06/2021 02:27:00 AM (4 years ago)
Author:
kitchin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49161, comment 6

    v2 v3  
    11@bbtodd The bug as reported is invalid, `big_image_size_threshold` false means do not save a reduced image at the threshold size.
    22
    3 @sjnbham The `wp_smush` plugin overrides `big_image_size_threshold` with a filter.
     3@sjnbham The `wp-smushit` plugin overrides `big_image_size_threshold` with a filter.
    44
    55The filter is working as designed on my tested site, but note the intent of `big_image_size_threshold` is to save ''bandwidth'' not ''disk space.'' The original image **is still saved** when `big_image_size_threshold` is nonzero (the default), and its short filename is put into the metadata as "original_image." The "-scaled" version of the image though is the one used by WP when you ask for the image while editing pages, etc. There's a link to the original file in the Dashboard / Media view of the image, in the metabox.