[wp-trac] Re: [WordPress Trac] #7533: is_page() Returns false Always In Search Results

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 18 21:55:11 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  |  
---------------------------+------------------------------------------------
Comment (by technosailor):

 Search is not a page or a post. If anything, it's an archive. Search
 results might include pages. They might include *all* pages in the result.
 But it is still is_search(), not is_page().

 Am I missing something here?

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


More information about the wp-trac mailing list