WordPress.org

Plugin Directory


Ignore:
Timestamp:
12/11/16 13:31:11 (11 months ago)
Author:
radgeek
Message:

Release 2016.1211. Mostly compatibility fixes, one bugfix thing. WP 4.7 compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • feedwordpress/trunk/feedwordpresshttpauthenticator.class.php

    r638053 r1551908  
    1010         
    1111        add_filter('pre_http_request', array($this, 'pre_http_request'), 10, 3); 
    12         add_action('http_api_curl', array($this, 'set_auth_options'), 1000, 1); 
     12        add_action('http_api_curl', array($this, 'set_auth_options'), 1000, 3); 
    1313    } /* FeedWordPressHTTPAuthenticator::__construct () */ 
    1414 
     
    151151    } /* FeedWordPressHTTPAuthenticator::if_curl () */ 
    152152     
    153     function set_auth_options (&$handle) { 
     153    function set_auth_options ($handle, $r, $url) { 
    154154        if ('digest'==$this->args['authentication']) : 
    155155            curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); 
Note: See TracChangeset for help on using the changeset viewer.