Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#9332 closed defect (bug) (invalid)

is_home() returns blog page rather than static home page

Reported by: bluemason Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: General Keywords: static home page
Focuses: Cc:


If the blog is configured to have a static home page that is different from the blog page then is_home() will return true for the blog page and not for the page configured to be the home page. There are related issues in All in One SEO and Headspace2, where neither of these plugins can target a static home page correctly.

Change History (1)

#1 @DD32
9 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

Use is_front_page() introduced with #3682

Note: See TracTickets for help on using tickets.