Make WordPress Core

Ticket #8780: 8780.diff

File 8780.diff, 434 bytes (added by DD32, 17 years ago)
  • wp-includes/http.php

     
    236236                );
    237237
    238238                $r = wp_parse_args( $args, $defaults );
    239                 $r = apply_filters( 'http_request_args', $r );
     239                $r = apply_filters( 'http_request_args', $r, $url );
    240240
    241241                if ( is_null( $r['headers'] ) )
    242242                        $r['headers'] = array();