Opened 11 months ago
Last modified 7 months ago
#20899 new defect (bug)
is_home() should be able to be true when is_feed()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | johnbillion, batmoo@… |
Description
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?
Change History (3)
Note: See
TracTickets for help on using
tickets.

#22031 was marked as a duplicate.