#57102 closed defect (bug) (fixed)
Typo in MagpieRSS (deprecated)
Reported by: | nithins53 | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.2 | Priority: | lowest |
Severity: | trivial | Version: | |
Component: | Feeds | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
In wp-includes/rss.php, on line 198, 341 and 503 we can see typo errors.
Line 198- containging > containing
Line 341 descripton> description (typo in array key)
Line 503 habbit>habit
Change History (8)
This ticket was mentioned in PR #3617 on WordPress/wordpress-develop by @anantajitjg.
2 years ago
#1
- Keywords has-patch added; needs-patch removed
#2
follow-up:
↓ 3
@
2 years ago
- Component changed from General to Feeds
- Keywords commit added
- Milestone changed from Awaiting Review to 6.2
- Priority changed from normal to lowest
- Severity changed from normal to trivial
The benefit of any updates to rss.php
is becoming extremely low.
One thing to note is that changing the instance of $this->channel['descripton']
could result in unexpected behavior if someone using the class is checking for that index. While correcting the key's spelling would fix this bug, but would break those implementations.
Stepping back, I guess these are fine to make, but I'd honestly like to look at potentially being able to no-op this class entirely. MagpieRSS
has been deprecated since WordPress 3.0, and a search of the plugin directory shows almost no real usage of the class (almost all of the matches are false positives or attempts to identify crawlers, which MagpieRSS is considered). I've opened #57107 to discuss this.
#3
in reply to:
↑ 2
@
2 years ago
Replying to desrosj:
The benefit of any updates to
rss.php
is becoming extremely low.
One thing to note is that changing the instance of
$this->channel['descripton']
could result in unexpected behavior if someone using the class is checking for that index. While correcting the key's spelling would fix this bug, but would break those implementations.
Stepping back, I guess these are fine to make, but I'd honestly like to look at potentially being able to no-op this class entirely.
Completely agree with this. Looking forward to more updates from #57107.
This ticket was mentioned in Slack in #core by costdev. View the logs.
22 months ago
#6
@
22 months ago
- Owner set to audrasjb
- Status changed from new to accepted
Self assigning for commit
.
@audrasjb commented on PR #3617:
22 months ago
#8
committed in https://core.trac.wordpress.org/changeset/55336
Trac ticket: https://core.trac.wordpress.org/ticket/57102