diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index e044e9d8a..d4247fd9f 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -1054,6 +1054,8 @@ class WP_Http_Curl { break; default: curl_setopt( $handle, CURLOPT_CUSTOMREQUEST, $r['method'] ); + if ( ! empty( $r['body'] ) ) + curl_setopt( $handle, CURLOPT_POSTFIELDS, $r['body'] ); break; }