WordPress.org

Make WordPress Core

Changeset 38173


Ignore:
Timestamp:
07/31/2016 06:19:02 PM (4 years ago)
Author:
ocean90
Message:

HTTP API: Set $use_authentication property of Requests_Proxy_HTTP to true when proxy authentication is required.

Props francescobagnoli for initial patch.
Fixes #37494.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r38165 r38173  
    357357
    358358            if ( $proxy->use_authentication() ) {
     359                $options['proxy']->use_authentication = true;
    359360                $options['proxy']->user = $proxy->username();
    360361                $options['proxy']->pass = $proxy->password();
Note: See TracChangeset for help on using the changeset viewer.