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
This commit is contained in:
parent
51e92ced21
commit
f051ed3ffb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user