From 970a1c8dc627c4c592f8c30acbb8a90b616145fb Mon Sep 17 00:00:00 2001 From: azaozz Date: Sun, 4 Jan 2009 04:34:01 +0000 Subject: [PATCH] Pass the URL to the 'http_request_args' filter, props DD32, fixes #8780 git-svn-id: http://svn.automattic.com/wordpress/trunk@10294 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index 69cff45c36..378eca1e86 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -236,7 +236,7 @@ class WP_Http { ); $r = wp_parse_args( $args, $defaults ); - $r = apply_filters( 'http_request_args', $r ); + $r = apply_filters( 'http_request_args', $r, $url ); if ( is_null( $r['headers'] ) ) $r['headers'] = array();