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
This commit is contained in:
Sergey Biryukov 2019-10-31 00:13:01 +00:00
parent ed651b17a4
commit 3d76b537d6
2 changed files with 2 additions and 1 deletions

View File

@ -592,6 +592,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
* Filters the generated attachment meta data. * Filters the generated attachment meta data.
* *
* @since 2.1.0 * @since 2.1.0
* @since 5.3.0 The `$context` parameter was added.
* *
* @param array $metadata An array of attachment meta data. * @param array $metadata An array of attachment meta data.
* @param int $attachment_id Current attachment ID. * @param int $attachment_id Current attachment ID.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.