#10158 closed enhancement (wontfix)
Deprecate is_home() and is_single(), in favor of is_blog() and is_post()
Reported by: | Denis-de-Bernardy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Query | Keywords: | dev-feedback |
Focuses: | template | Cc: |
Description
Thoughts?
Change History (8)
#2
@
15 years ago
Just thought I'd add my vote for replacing is_home with is_blog. I personally think that is_single is more descriptive than is_post.
#3
@
15 years ago
- Milestone changed from 2.9 to Future Release
No patch.
Not sure about this.
Moving to Future.
#6
@
12 years ago
Regardless of the name of the is_home() function, I am proposing adding an additional conditional tag called is_blog_page() to return true if any of the blog-related pages are currently being viewed. The name of that function could change to match any changes to the name or implementation of is_home().
I've submitted a patch with ticket #21620.
Note: See
TracTickets for help on using
tickets.
see also #6801