From 3d76b537d67356563a08b72d379cbbf0ec1c4601 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 31 Oct 2019 00:13:01 +0000 Subject: [PATCH] Docs: Add `@since` tag for the `$context` parameter added to `wp_generate_attachment_metadata` filter in [46621]. See #48472. Built from https://develop.svn.wordpress.org/trunk@46622 git-svn-id: http://core.svn.wordpress.org/trunk@46419 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/image.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/image.php b/wp-admin/includes/image.php index 3b2de95db8..a0f78ed3db 100644 --- a/wp-admin/includes/image.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 76a6bd8153..9e0b0961e7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46621'; +$wp_version = '5.4-alpha-46622'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.