OSDN Git Service

Use the SSL CA bundle that Requests includes, rather than relying upon the systems...
authorDion Hulse <contact-atlassian@dd32.id.au>
Thu, 7 Nov 2013 11:42:42 +0000 (22:42 +1100)
committerDion Hulse <contact-atlassian@dd32.id.au>
Thu, 7 Nov 2013 11:42:42 +0000 (22:42 +1100)
php/commands/core.php

index d24f497..2a11de3 100644 (file)
@@ -126,7 +126,6 @@ class Core_Command extends WP_CLI_Command {
 
        private static function _request( $method, $url, $headers = array(), $options = array() ) {
                try {
-                       $options['verify'] = true;
                        return Requests::get( $url, $headers, $options );
                } catch( Requests_Exception $ex ) {
                        // Handle SSL certificate issues gracefully