33 * Functionality to improve the calculation of image `sizes` attributes.
44 *
55 * @package auto-sizes
6- * @since n.e.x.t
6+ * @since 1.4.0
77 */
88
99/**
1010 * Primes attachment into the cache with a single database query.
1111 *
12- * @since n.e.x.t
12+ * @since 1.4.0
1313 *
1414 * @param string|mixed $content The HTML content.
1515 * @return string The HTML content.
@@ -130,7 +130,7 @@ function auto_sizes_filter_image_tag( $content, array $parsed_block, WP_Block $b
130130/**
131131 * Modifies the sizes attribute of an image based on layout context.
132132 *
133- * @since n.e.x.t
133+ * @since 1.4.0
134134 *
135135 * @param int $id The image attachment post ID.
136136 * @param string|array{int, int} $size Image size name or array of width and height.
@@ -228,7 +228,7 @@ function auto_sizes_calculate_better_sizes( int $id, $size, string $align, int $
228228/**
229229 * Retrieves the layout width for an alignment defined in theme.json.
230230 *
231- * @since n.e.x.t
231+ * @since 1.4.0
232232 *
233233 * @param string $alignment The alignment value.
234234 * @return string The alignment width based.
@@ -248,7 +248,7 @@ function auto_sizes_get_layout_width( string $alignment ): string {
248248/**
249249 * Filters the context keys that a block type uses.
250250 *
251- * @since n.e.x.t
251+ * @since 1.4.0
252252 *
253253 * @param string[] $uses_context Array of registered uses context for a block type.
254254 * @param WP_Block_Type $block_type The full block type object.
@@ -271,7 +271,7 @@ function auto_sizes_filter_uses_context( array $uses_context, WP_Block_Type $blo
271271/**
272272 * Modifies the block context during rendering to blocks.
273273 *
274- * @since n.e.x.t
274+ * @since 1.4.0
275275 *
276276 * @param array<string, mixed> $context Current block context.
277277 * @param array<string, mixed> $block The block being rendered.
0 commit comments