[wp-trac] [WordPress Trac] #18993: is_post_type_archive() returns true in the admin area
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 18 23:27:32 UTC 2011
#18993: is_post_type_archive() returns true in the admin area
----------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+------------------------------
Comment (by johnbillion):
In fact, other conditionals such as `is_search()` and `is_date()` also
return true when searching or viewing posts by date in the admin area. I'm
not sure if this is expected behaviour or not.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18993#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list