[wp-trac] [WordPress Trac] #37735: Can not proceed with plugin upgrades after upgrade of core WP to 4.6
WordPress Trac
noreply at wordpress.org
Mon Aug 22 07:30:53 UTC 2016
#37735: Can not proceed with plugin upgrades after upgrade of core WP to 4.6
-------------------------------+------------------------------
Reporter: pmirek | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version: 4.6
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by pmirek):
{{{
var_dump( $args );
var_dump( $url );
var_dump( $http_args );
var_dump( $request );
}}}
gives
{{{
object(stdClass)#1604 (5) {
["per_page"]=>
int(10)
["page"]=>
int(1)
["search"]=>
string(16) "ajax search lite"
["fields"]=>
array(3) {
["name"]=>
bool(true)
["slug"]=>
bool(true)
["rating"]=>
bool(true)
}
["locale"]=>
string(5) "en_US"
}
string(43) "https://api.wordpress.org/plugins/info/1.0/"
array(2) {
["timeout"]=>
int(15)
["body"]=>
array(2) {
["action"]=>
string(13) "query_plugins"
["request"]=>
string(182)
"O:8:"stdClass":5:{s:8:"per_page";i:10;s:4:"page";i:1;s:6:"search";s:16:"ajax
search
lite";s:6:"fields";a:3:{s:4:"name";b:1;s:4:"slug";b:1;s:6:"rating";b:1;}s:6:"locale";s:5:"en_US";}"
}
}
object(WP_Error)#1613 (2) {
["errors"]=>
array(1) {
["http_request_failed"]=>
array(1) {
[0]=>
string(55) "cURL error 6: Couldn't resolve host 'api.wordpress.org'"
}
}
["error_data"]=>
array(0) {
}
}
}}}
That is what I've already configured, that proxy seems not be respected
after upgrade when using wp-cli.
I can't see here anything related to proxy.
does
{{{
$request = wp_remote_post( $url, $http_args );
}}}
accepts proxy setting, as I can't see any related parameters?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37735#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list