AnsPress_Prod_Updater::http_request_args( array $args, string $url )
Description #
Disable SSL verification in order to prevent download update failures
Parameters #
- $argsarray (Required)
- $urlstring (Required)
Source #
File: admin/updater.php
public function http_request_args( $args, $url ) { // If it is an https request and we are performing a package download, disable ssl verification if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) { $args['sslverify'] = false; } return $args; }
Expand full source code Collapse full source code View on GitHub: admin/updater.php:297
Add your comment