[wp-trac] [WordPress Trac] #57107: No-op `MagpieRSS`
WordPress Trac
noreply at wordpress.org
Mon Nov 14 15:44:39 UTC 2022
#57107: No-op `MagpieRSS`
--------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: normal | Keywords: 2nd-opinion
Focuses: |
--------------------------+-----------------------------
MagpieRSS is an XML-based RSS parser built in the days of PHP 4.x.
MagpieRSS has been deprecated in WordPress since version 3.0 was released
in 2010. The library itself has not been updated since 2004 and is
abandoned.
Since then the library has continued to be included with WordPress to
avoid breaking any sites that may have been using it. It has been deemed
an "adopted" external library, but only the following very minor updates
have been made:
- inline documentation.
- changes to avoid fatal PHP errors in modern versions of PHP.
- changes to avoid deprecated notices/other warnings in modern versions of
PHP.
Looking at the plugin directory, there is
[https://wpdirectory.net/search/01GHVBFXQJA6M0VH9FVT4HHF1S almost no
meaningful usage of the class]. 90-95% of the matches are false positives
related to identifying when a crawler is accessing pages/feeds.
Enough time has passed since deprecating this class where no-opping can be
considered to avoid continuing to ship code that no one is using.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57107>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list