[wp-trac] Re: [WordPress Trac] #7533: is_page() Returns false
Always In Search Results
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 8 15:33:06 GMT 2008
#7533: is_page() Returns false Always In Search Results
-----------------------------------------+----------------------------------
Reporter: GamerZ | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.6.2
Component: Template | Version: 2.6.1
Severity: trivial | Resolution:
Keywords: is_home, home, dev-feedback |
-----------------------------------------+----------------------------------
Comment (by Otto42):
Disagree. It's a search archive. Not a page and not a post. Those
is_whatever tags refer to where you are at in the Template Hierarchy
(unless you futzed with the query manually). Making them behave
differently in the Loop vs. out of the Loop is a Bad Idea(tm).
--
Ticket URL: <http://trac.wordpress.org/ticket/7533#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list