Support » Plugin: Add Local Avatar » [Plugin: Add Local Avatar] Please replace cURL with WP_HTTP

  • While taking a look at the code for this plugin to see where I might be able to hook into it to convert featured images into user avatars, I noticed that the plugin uses cURL to attempt to grab information from Twitter. Not everyone has cURL installed on their servers (we don’t have it on our server for a number of reasons).

    Can you please modify the plugin to utilize the WP_HTTP class ( instead of cURL? The WP_HTTP class is the preferred way of making HTTP requests within WordPress; it will attempt to use cURL if that exists, but has multiple fallbacks if not. Thanks.

  • The topic ‘[Plugin: Add Local Avatar] Please replace cURL with WP_HTTP’ is closed to new replies.