Add missing filters to remaining link(url) functions in feed.php
|Reported by:||MarcusPope||Owned by:||nacin|
|Severity:||normal||Keywords:||has-patch 3.4-early commit needs-codex|
All of the url-getting functions in wp-includes/feed.php use rss-specific filters on the resulting url except for the comment_link() & comments_link_feed() functions.
This patch adds a filter for massaging the url before it's sent through esc_url.
This fixes a current bug with the core dev team's recommended solution for root-relative urls, whereby adjusting the filters on get_permalink will inadvertantly and negatively affect rss feeds.
Change History (8)
- Keywords 3.4-early added
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed