[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:34:06 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):

 Actually, [attachment:is-pta-patch.diff] doesn't look fine, since
 in_array() returns a boolean, whereas array_intersect() returns an array.

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


More information about the wp-trac mailing list