[wp-trac] [WordPress Trac] #34231: Support for post types in is_archive()

WordPress Trac noreply at wordpress.org
Fri Oct 9 16:13:41 UTC 2015


#34231: Support for post types in is_archive()
------------------------------+----------------------
 Reporter:  sebastian.pisula  |       Owner:
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Query             |     Version:
 Severity:  normal            |  Resolution:  wontfix
 Keywords:                    |     Focuses:
------------------------------+----------------------
Changes (by helen):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 `is_archive()` can be any number of kinds of archives, not just post type
 archives. This would be an extremely ambiguous argument - is it the name
 of a post type or a term or something else?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34231#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list