#19210 closed enhancement (fixed)
Add missing filters to remaining link(url) functions in feed.php
| Reported by: | MarcusPope | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Feeds | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch 3.4-early commit needs-codex |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Added filters to comments_link and comment_link functions in feed.php