Skip to content

Commit 6b8747c

Browse files
Remove message
1 parent ad51973 commit 6b8747c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugins/auto-sizes/hooks.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,7 @@ function auto_sizes_filter_image_tag( $content, array $parsed_block, WP_Block $b
219219
$alignment = $block->attributes['align'] ?? '';
220220
$width = $block->attributes['width'] ?? '';
221221

222-
// Hypothetical function to calculate better sizes.
223-
$sizes = auto_sizes_calculate_better_sizes( (int) $id, (string) $size, (string) $alignment, (string) $width );
224-
225-
return $sizes;
222+
return auto_sizes_calculate_better_sizes( (int) $id, (string) $size, (string) $alignment, (string) $width );
226223
};
227224

228225
// Hook this filter early, before default filters are run.

0 commit comments

Comments
 (0)