[wp-trac] [WordPress Trac] #19210: Add missing filters to remaining link(url) functions in feed.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 8 21:36:48 UTC 2011
#19210: Add missing filters to remaining link(url) functions in feed.php
--------------------------+-----------------------------
Reporter: MarcusPope | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.2.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19210>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list