Make WordPress Core

Changeset 10294


Ignore:
Timestamp:
01/04/2009 04:34:01 AM (16 years ago)
Author:
azaozz
Message:

Pass the URL to the 'http_request_args' filter, props DD32, fixes #8780

File:
1 edited

Legend:

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

    r10289 r10294  
    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'] ) )
Note: See TracChangeset for help on using the changeset viewer.