Skip to content

Commit c06b4e7

Browse files
Update function doc
1 parent 6b8747c commit c06b4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/auto-sizes/hooks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function auto_sizes_filter_image_tag( $content, array $parsed_block, WP_Block $b
251251
add_filter( 'render_block_core/cover', 'auto_sizes_filter_image_tag', 10, 3 );
252252

253253
/**
254-
* Hypothetical function to calculate better sizes.
254+
* Modifies the sizes attribute of an image based on layout context.
255255
*
256256
* @param int $id The image id.
257257
* @param string $size The image size data.

0 commit comments

Comments
 (0)