From fe9b176aef9afad239eb77c20a80acd8f37c5b21 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 31 Oct 2019 00:11:20 +0000 Subject: [PATCH] Docs: Add `@since` tag for the `$context` parameter added to `wp_generate_attachment_metadata` filter in [46621]. See #48472. git-svn-id: https://develop.svn.wordpress.org/trunk@46622 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/includes/image.php b/src/wp-admin/includes/image.php index 3b2de95db8..a0f78ed3db 100644 --- a/src/wp-admin/includes/image.php +++ b/src/wp-admin/includes/image.php @@ -592,6 +592,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) { * Filters the generated attachment meta data. * * @since 2.1.0 + * @since 5.3.0 The `$context` parameter was added. * * @param array $metadata An array of attachment meta data. * @param int $attachment_id Current attachment ID.