WP_CLI\Core\CoreUpgrader::download_package needs to add $hook_extra parameter #167
Comments
Issue is reproducable for us too |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
afragen commentedAug 10, 2020
Bug Report
---✅ If you are in the correct location now... --->
Describe the current, buggy behavior
In WP 5.5 an additional parameter was added to WP_Upgrader::download_package( $package, $check_signatures, $hook_extra ). When trying to force an update to a previous verison eg
wp core update --force --version=beta1
a PHP warning about the difference between WP_CLI\Core\CoreUpgrader::download_package and WP_Upgrader::download_package.This is using WP-CLI 2.5.0-alpha
Describe how other contributors can replicate this bug
wp core update --force --version=beta1
Describe what you would expect as the correct outcome
Update occurs.
Let us know what environment you are running this on
The text was updated successfully, but these errors were encountered: