davelester / WPBadgeDisplay

WordPress plugin that creates a widget to display Open Badges on your blog.
Other
12 stars 8 forks source link

Use wp_remote_post() for converting emails #14

Closed boonebgorges closed 11 years ago

boonebgorges commented 12 years ago

Currently you are using file_get_contents() to send a post request to the Open Badges email-to-userId converter. This breaks on many setups. Should use wp_remote_post() instead, which has fallbacks for cURL and a number of different transport methods.

davelester commented 11 years ago

Thanks, I just merged this commit into my master.