Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
add isset checks around timeout and maxredirects #2636
timeout and maxredirect config items are not required for a curl request. These items weren't checked if they are specified or not.
If the config items are not set, then it wouldn't set these curl options.
This will fix the check and the code will not throw any notices anymore about this issue.