WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

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)

comment:1 DD325 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.