wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Handle multiple feeds in `fetch_feed()`.

Open peterwilsoncc opened this issue 1 month ago • 7 comments

Handles passing an array to fetch_feed() by requesting each feed individually and then calling SimplePie\SimplePie::merge_items(); on the result before passing the data back in to a SimplePie object.

I don't love this so would love some suggestions of anything I am missing.

Trac ticket: https://core.trac.wordpress.org/ticket/64136


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

peterwilsoncc avatar Dec 15 '25 03:12 peterwilsoncc