Changeset 59775 for trunk/src/wp-includes/blocks/cover.php
- Timestamp:
- 02/07/2025 03:44:07 PM (12 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/cover.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/cover.php
r59263 r59775 36 36 } 37 37 38 $image = get_the_post_thumbnail( null, 'post-thumbnail', $attr );38 $image = get_the_post_thumbnail( null, $attributes['sizeSlug'] ?? 'post-thumbnail', $attr ); 39 39 } else { 40 40 if ( in_the_loop() ) { 41 41 update_post_thumbnail_cache(); 42 42 } 43 $current_featured_image = get_the_post_thumbnail_url( );43 $current_featured_image = get_the_post_thumbnail_url( null, $attributes['sizeSlug'] ?? null ); 44 44 if ( ! $current_featured_image ) { 45 45 return $content;
Note: See TracChangeset
for help on using the changeset viewer.