[wp-trac] [WordPress Trac] #64323: fetch_rss() uses incorrect function signature for XML `start_element_handler`
WordPress Trac
noreply at wordpress.org
Mon Dec 1 04:17:09 UTC 2025
#64323: fetch_rss() uses incorrect function signature for XML
`start_element_handler`
-------------------------------+------------------------------
Reporter: avibrender | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: minor | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by manhphucofficial):
Thanks for the insightful feedback!
Fully migrating away from MagpieRSS in favor of SimplePie would indeed be
the ideal long-term solution, and I completely agree that the existing
dependency on MagpieRSS should ultimately be removed.
In the meantime, since fetch_rss() and legacy integrations still invoke
MagpieRSS in current installations, this PHP 8 warning affects real-world
sites today. The small change in the attached patch avoids the warning
without altering behavior or introducing additional maintenance burden.
The patch is intended as a safe, minimal, interim fix that prevents
unnecessary noise in PHP logs while the broader architectural update
(migrating to SimplePie or removing MagpieRSS) is being considered.
Happy to adjust or refine the patch if that helps move things forward.
Thanks again!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64323#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list