[wp-trac] [WordPress Trac] #10158: Deprecate is_home() and is_single(), in favor of is_blog() and is_post()
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 17 19:24:06 UTC 2012
#10158: Deprecate is_home() and is_single(), in favor of is_blog() and is_post()
-------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
-------------------------------+-----------------------------
Comment (by grantnorwood):
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10158#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list