#36241 closed enhancement (wontfix)
Feed timeout defaults to 10 seconds
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Feeds | Keywords: | needs-patch |
| Focuses: | Cc: |
Description
SimplePie's default timeout to fetch a feed is 10 seconds. If you add a feed that is unavailable, it can make your site unresponsive. I suggest a line like
$feed->set_timeout( 2 );
be added to the fetch_feed function
https://developer.wordpress.org/reference/functions/fetch_feed/
Change History (4)
#3
@
10 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
@porcospino
Thank you very much for the bug report! Since there hasn't been any activity in several weeks and the timeout can be altered via the filters @ocean90 mentioned, I'm closing this ticket as "won't fix". If you have any further concerns please feel free leave a comment and we can revisit.
Note: See
TracTickets for help on using
tickets.
This seems to be the case of the feed widget because the feeds on the dashboard are lazy-loaded.
As a workaround you can use the wp_feed_options action to apply the timeout setting.