WordPress.org

Make WordPress Core

Ticket #35714: 35714.diff

File 35714.diff, 543 bytes (added by neoxx, 6 years ago)
  • media.php

     
    10701070
    10711071        /**
    10721072         * To make sure the ID matches our image src, we will check to see if any sizes in our attachment
    1073          * meta match our $image_src. If no mathces are found we don't return a srcset to avoid serving
     1073         * meta match our $image_src. If no matches are found we don't return a srcset to avoid serving
    10741074         * an incorrect image. See #35045.
    10751075         */
    10761076        $src_matched = false;