We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1dc9699 + 02d014a commit e19b89cCopy full SHA for e19b89c
1 file changed
src/WP_CLI/Core/CoreUpgrader.php
@@ -22,11 +22,12 @@ class CoreUpgrader extends DefaultCoreUpgrader {
22
*
23
* @access public
24
25
- * @param string $package The URI of the package. If this is the full path to an
26
- * existing local file, it will be returned untouched.
+ * @param string $package The URI of the package. If this is the full path to an
+ * existing local file, it will be returned untouched.
27
+ * @param bool $check_signatures Whether to validate file signatures. Default true.
28
* @return string|WP_Error The full path to the downloaded package file, or a WP_Error object.
29
*/
- public function download_package( $package ) {
30
+ public function download_package( $package, $check_signatures = true ) {
31
32
/**
33
* Filter whether to return the package.
0 commit comments