[wp-trac] [WordPress Trac] #16347: is_post_type_archive doesn't return correctly outside of loop

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 24 21:15:53 UTC 2011


#16347: is_post_type_archive doesn't return correctly outside of loop
------------------------------+---------------------
 Reporter:  blt4              |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.1
Component:  Post Types        |     Version:  3.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by markjaquith):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [17358]) Get is_post_type_archive( 'my-post-type' ) working properly
 outside of the loop. props bit4. fixes #16347

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


More information about the wp-trac mailing list