Make WordPress Core

Opened 15 years ago

Closed 10 years ago

Last modified 10 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's profile Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Query Keywords: dev-feedback
Focuses: template Cc:



Change History (8)

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

  • Milestone changed from 2.9 to Future Release

No patch.

Not sure about this.

Moving to Future.

#4 @solarissmoke
13 years ago

  • Keywords dev-feedback added

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

#7 @nacin
10 years ago

  • Component changed from Themes to Query
  • Focuses template added
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

#8 @SergeyBiryukov
10 years ago

#29711 was marked as a duplicate.

Note: See TracTickets for help on using tickets.