[wp-trac] Re: [WordPress Trac] #9425: is_home returns false when specifying included categories only

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 2 23:53:21 GMT 2009


#9425: is_home returns false when specifying included categories only
--------------------------+-------------------------------------------------
 Reporter:  mtg169        |       Owner:  anonymous               
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  Unassigned              
Component:  General       |     Version:  2.7.1                   
 Severity:  normal        |    Keywords:  is_home, query.php, cat=
--------------------------+-------------------------------------------------

Comment(by hakre):

 This is not a Bug in the WordPress Core, it is a 'Bug' in an individual
 Theme, if you want to call it Bug at all.

 To circumvent the (knwon and wanted) Side-Effects between is_home() and
 query_posts(), first call is_home() and store the return value in a
 variable.

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


More information about the wp-trac mailing list