diff --git a/wp-content/themes/twentytwentyone/inc/template-tags.php b/wp-content/themes/twentytwentyone/inc/template-tags.php index faa7e495da..38add801c5 100644 --- a/wp-content/themes/twentytwentyone/inc/template-tags.php +++ b/wp-content/themes/twentytwentyone/inc/template-tags.php @@ -190,8 +190,8 @@ if ( ! function_exists( 'twenty_twenty_one_post_thumbnail' ) ) {
'eager' ) ); + // Lazy-loading attributes should be skipped for thumbnails since they are immediately in the viewport. + the_post_thumbnail( 'post-thumbnail', array( 'loading' => false ) ); ?>
diff --git a/wp-includes/version.php b/wp-includes/version.php index e6be5cc7c1..4f4d2bed01 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49859'; +$wp_version = '5.7-alpha-49860'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.