[wp-trac] [WordPress Trac] #20899: is_home() should be able to be true when is_feed()

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 10 19:28:36 UTC 2012


#20899: is_home() should be able to be true when is_feed()
--------------------------+----------------------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+----------------------------
 is_feed() is a special query flag that can be combined with other query
 flags — for example, `is_author() && is_feed()` for /author/admin/feed/.

 But it can't be combined with is_home(), because is_home() is the fallback
 that is only set to true when a lot of other things are true — including
 is_feed(). This appears to be incorrect — is_home() should still be able
 to be true despite is_feed().

 I tracked this down to [1449]. What kind of breakage could occur with
 this?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20899>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list