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();