From f051ed3ffb6ec832133df2887be8be362d5d4bbf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 12 Jul 2020 11:00:16 +0000 Subject: [PATCH] Docs: Add a `@since` entry for the `$hook_extra` parameter added to `WP_Upgrader::download_package()`. Follow-up to [48399]. See #49686. git-svn-id: https://develop.svn.wordpress.org/trunk@48449 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php index 8b1cc4b5fb..56bd3373ff 100644 --- a/src/wp-admin/includes/class-wp-upgrader.php +++ b/src/wp-admin/includes/class-wp-upgrader.php @@ -244,6 +244,7 @@ class WP_Upgrader { * Download a package. * * @since 2.8.0 + * @since 5.5.0 Added the `$hook_extra` parameter. * * @param string $package The URI of the package. If this is the full path to an * existing local file, it will be returned untouched. @@ -256,6 +257,7 @@ class WP_Upgrader { * Filters whether to return the package. * * @since 3.7.0 + * @since 5.5.0 Added the `$hook_extra` parameter. * * @param bool $reply Whether to bail without returning the package. * Default false.