WordPress.org

Support

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

[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 (http://codex.wordpress.org/HTTP_API) 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.

    http://wordpress.org/extend/plugins/add-local-avatar/

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