[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
Sat Oct 2 20:38:53 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: Awaiting Review
Component: Feeds | Version: 3.0.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by aaroncampbell):
I have a problem with something very similar. Basically,
`get_lastpostmodified()` and `get_lastpostdate()` only check for post-type
'post'. Since I'm also including the post-type 'beer' in my main feed,
the feed consistently returns a 304 (not modified) until a new 'post' is
created. It wouldn't fix the above I don't think, but those two functions
should have a filter to allow you to set what post types you want checked.
I'll upload a patch for this issue in a minute or two.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14922#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list