#19210 closed enhancement (fixed)
Add missing filters to remaining link(url) functions in feed.php
Reported by: | MarcusPope | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.2.1 |
Component: | Feeds | Keywords: | has-patch 3.4-early commit needs-codex |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Added filters to comments_link and comment_link functions in feed.php