Changeset 10738 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
- Timestamp:
- 03/02/2021 09:58:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
r10691 r10738 244 244 $thumbnail = has_post_thumbnail( $showcase_post->ID ) 245 245 ? get_the_post_thumbnail( $showcase_post->ID, 'showcase-thumbnail' ) 246 : sprintf( '<img src="%1$s" width="220" alt="%2$s" />', esc_url( $rosetta->screenshot_url( $post_url, 220 ) ), esc_attr( $showcase_post->post_title ) );246 : sprintf( '<img src="%1$s" width="220" loading="lazy" alt="%2$s" />', esc_url( $rosetta->screenshot_url( $post_url, 220 ) ), esc_attr( $showcase_post->post_title ) ); 247 247 248 248 printf(
Note: See TracChangeset
for help on using the changeset viewer.