mirror of
https://github.com/proelements/proelements.git
synced 2026-04-05 20:13:47 +00:00
Removed the http_request_timeout filter and its callback function. Set a timeout value directly in the wp_remote_get call. This will stop your plugin from affecting ALL WordPress remote calls, either from core or other plugins or API calls, and set the 2-second timeout ONLY for your own wp_remote_get call. I just spent one hour debugging a customer website that could not make end API calls because your plugin was killing all connections after 2 seconds.