Making WordPress.org


Ignore:
Timestamp:
03/25/2020 05:59:27 AM (6 years ago)
Author:
coffee2code
Message:

Theme Directory: Lazy-load images.

Props jonoaldersonwp, coffee2code.
Fixes #5062.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme.php

    r8998 r9630  
    33                <?php if ( $theme->screenshot_url ) { ?>
    44                <div class="theme-screenshot">
    5                         <img src="<?php echo esc_url( $theme->screenshot_url ); ?>?w=572&amp;strip=all" alt="" />
     5                        <img src="<?php echo esc_url( $theme->screenshot_url ); ?>?w=572&amp;strip=all" loading="lazy" alt="" />
    66                </div>
    77                <?php } else { ?>
Note: See TracChangeset for help on using the changeset viewer.