#19210 closed enhancement (fixed)
Add missing filters to remaining link(url) functions in feed.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Feeds | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch 3.4-early commit needs-codex |
| 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)
MarcusPope
— 20 months ago
comment:1
nacin
— 20 months ago
- Keywords 3.4-early added
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
comment:2
wonderboymusic
— 5 months ago
- Milestone changed from Future Release to 3.6
comment:3
SergeyBiryukov
— 5 months ago
- Component changed from Permalinks to Feeds
comment:4
SergeyBiryukov
— 4 months ago
- Keywords commit added
comment:5
nacin
— 3 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In 23624:
comment:6
DrewAPicture
— 3 months ago
- Keywords 3.6-codex added
comment:7
DrewAPicture
— 3 months ago
- Keywords needs-codex added; 3.6-codex removed
Note: See
TracTickets for help on using
tickets.
Added filters to comments_link and comment_link functions in feed.php