[wp-trac] [WordPress Trac] #10410: Secondary RSS feeds use the wrong function to acquire post titles

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 14 23:12:12 UTC 2009


#10410: Secondary RSS feeds use the wrong function to acquire post titles
--------------------------+-------------------------------------------------
 Reporter:  kingjeffrey   |       Owner:          
     Type:  defect (bug)  |      Status:  new     
 Priority:  normal        |   Milestone:          
Component:  Feeds         |     Version:  2.8.1   
 Severity:  normal        |    Keywords:  RSS HTML
--------------------------+-------------------------------------------------

Comment(by kingjeffrey):

 As an example, click on the RSS icon in Firefox at this URL:
 http://kingdesk.com/projects/wp-typography/.  The wp-Typography plugin
 wraps numbers in `<span class="numbers">`.  It also tests for
 `is_feed()` before filtering at the `the_title` hook.  By calling the
 `get_the_title()` function at line 1499 of wp-includes/general-
 template.php you return a false negative for `is_feed()`, and the HTML
 code is improperly injected.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10410#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list