Make WordPress Core

Opened 17 years ago

Closed 13 years ago

Last modified 12 years ago

#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:
Priority: normal Milestone:
Component: Query Version:
Severity: normal Keywords: dev-feedback
Cc: Focuses: template

Description

Thoughts?

Change History (8)

#2 @aaroncampbell
17 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 @westi
17 years ago

  • Milestone 2.9 → Future Release

No patch.

Not sure about this.

Moving to Future.

#4 @solarissmoke
16 years ago

  • Keywords dev-feedback added

#6 @grantnorwood
14 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.

#7 @nacin
13 years ago

  • Component Themes → Query
  • Focuses template added
  • Milestone Future Release
  • Resolution → wontfix
  • Status new → closed

#8 @SergeyBiryukov
12 years ago

#29711 was marked as a duplicate.

Note: See TracTickets for help on using tickets.