[wp-trac] [WordPress Trac] #19939: is_post_type_archive doesn't work with Tax Query

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 31 23:33:03 UTC 2012


#19939: is_post_type_archive doesn't work with Tax Query
----------------------------+------------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Post Types      |     Version:  3.3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by scribu):

 Regarding [attachment:even-better-patch.diff], it's debatable: why
 shouldn't the category be the queried object?

 In general, the idea of having a single "queried object" breaks down when
 you query by more than one criteria.

 [attachment:is-pta-patch.diff] looks fine.

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


More information about the wp-trac mailing list