Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59421, comment 1


Ignore:
Timestamp:
09/21/2023 08:24:43 AM (15 months ago)
Author:
lovor
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59421, comment 1

    initial v1  
    11After going superficially through the code in media.php, I understood that only the fourth and subsequent images get loading="lazy" attribute, which is not stated in any docs. I will change this to "enhancement" with following suggestions:
    2 - describe in docs **exact** method how it functions
     2- describe in docs **exactly** method how it functions
    33- change algorithm to take into account image heights and widths to calculate what is above and below the fold - for screen size the most used screen dimension would be taken