[wp-trac] [WordPress Trac] #23475: Feed querystring not limiting returned posts by post type when also using category

WordPress Trac noreply at wordpress.org
Thu Feb 14 20:15:45 UTC 2013


#23475: Feed querystring not limiting returned posts by post type when also using
category
-----------------------------+--------------------------
 Reporter:  jpyper           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Query
  Version:  3.5.1            |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 I set up an example to demonstrate what's happening:
 http://demo.jarrodpyper.com/feed/?post_type=syndicated&category_name=craft

 This feed *should* only return the one post on my site, "test syndicate"
 that is in the "Syndicated" post type and also in the "craft" category.
 Instead the post titled "post" of the default "post" post_type is being
 returned in the feed as well because it is also in the "craft" category.

 This works correctly within a normal page using query_posts, which I
 thought would be similar if not the same as the way the querystring was
 handled when put into the URL.

 Not sure if "Query" or "Feed" is the more relevant component keyword to
 use here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23475>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list