Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59421, comment 1

    v1 v2  
    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 **exactly** method how it functions
     2- describe in docs **exactly** 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