WordPress Fix: An Unexpected HTTP Error occured during the API request

Here’s a plugin I whipped up to help prevent the “An Unexpected HTTP Error occured during the API request” error message during some operations in the admin. I made this because I didn’t want to hack the core files like in this example, or how they mention in the WP forum. So,  if you get this error message often, it’s possible that the server you’re on is just a little too slow to retrieve some info from the wordpress.org site or the wordpress site is bogged down and it times out. The default for wordpress is on HTTP requests seems to be 5 second, and usually it seems that it’s not enough. So here’s the plugin I made so you don’t have to hack the core http.php file and increase the time out setting a little higher. Hope it helps your installation. It pretty obvious to setup, just install as any normal plugin and activate.

Download WordPress Plugin: dp HTTP Timeout Fix