mirror of
https://github.com/proelements/proelements.git
synced 2026-05-15 05:25:01 +00:00
d59d37f451
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.
11 KiB
11 KiB