Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47713, comment 13


Ignore:
Timestamp:
09/05/2020 05:48:09 PM (4 years ago)
Author:
Mista-Flo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47713, comment 13

    initial v1  
    11Hum that's weird, I have updated my last comment to show you what I tried. Can you test on last trunk version of the Core please to see if you still replicate the issue (with a default WordPress, no plugin please)
     2
     3Replying to [ticket:47713 mahnunchik]:
     4> Function `image_get_intermediate_size` does not return size if it equal original size.
     5>
     6> 1. WordPress itself doesn't generate `sizes` metadata item for size equal original image size.
     7> 2. `image_get_intermediate_size` looks throught `sizes` metadata and doesn't see necessary size.
     8> 3. It doesn't check original image size.
     9>
     10> More details here: https://github.com/Yoast/wordpress-seo/issues/10863
     11
     121. For me it does generate metadata size even if it's equal to original image size.
     132. It does not return false for me, but it returns the image size generated by WordPress instead of the original size.