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

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 15 16:05:51 UTC 2009


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

Comment(by kingjeffrey):

 @dev-feedback

 Regardless of HTML in the post title; `is_feed()` is broken for secondary
 feeds.  If _any_ processing is done of the post title by a plugin, it is
 applied to secondary feed titles.  Even if the filter is wrapped in `if(
 !is_feed() )`.

 Regarding your observation that feed titles be something like "Common
 usage of <div> and <p>", that is what `&lt;` is for.  I believe that in
 the HTML editor (not the WYSIWYG editor), people should reasonably be
 expected to know basic HTML, and HTML tags should be recognized as such in
 the title field (unless they are explicitly escaped).  It currently is
 not... whatever.  But that is a different issue entirely than `is_feed()`
 not working for secondary feeds.

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


More information about the wp-trac mailing list