Timeline for Fetch_Feed cURL error 28
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 30, 2020 at 16:51 | comment | added | Picard102 | Amazing, thank you! This solved an issue that's been persistent for 2 years. | |
Dec 30, 2020 at 16:50 | vote | accept | Picard102 | ||
Dec 30, 2020 at 16:30 | comment | added | Sally CJ |
Yes, and you may also override the file class the same way WP did it. E.g. Clone the WP_SimplePie_File class then set the user agent directly in your class without using $feed->set_useragent() .
|
|
Dec 30, 2020 at 16:10 | comment | added | Picard102 |
Looks like this worked. Is that user agent set in $feed->set_file_class( 'WP_SimplePie_File' ); ? It also worked when I commented out that line.
|
|
Dec 30, 2020 at 9:52 | history | answered | Sally CJ | CC BY-SA 4.0 |