[wp-trac] [WordPress Trac] #14922: Invalid Custom RSS Feed for Custom Post Type without a regular Post

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 3 00:00:51 UTC 2010


#14922: Invalid Custom RSS Feed for Custom Post Type without a regular Post
--------------------------+-------------------------------------------------
 Reporter:  actionnerd    |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  3.1                   
Component:  Feeds         |     Version:  3.0.1                 
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by aaroncampbell):

 The second patch passes the array (from `$wp_query->query_vars`) to the
 filter.  It feels a little kludgy, is there a better way to get the post
 types being queried?

 Someone who's more familiar with this code should make sure doing this
 doesn't introduce any unexpected issues.  It *does* seem to fix the RSS
 issue though.

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


More information about the wp-trac mailing list