[wp-trac] Re: [WordPress Trac] #3682: is_home() returns FALSE when
using a static page as your front page
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 17 17:59:43 GMT 2007
#3682: is_home() returns FALSE when using a static page as your front page
--------------------------------------+-------------------------------------
Reporter: johnbillion | Owner: anonymous
Type: defect | Status: reopened
Priority: high | Milestone: 2.4
Component: Template | Version: 2.1
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+-------------------------------------
Comment (by gfindlay):
Why on earth is there so much debate about this. It should be simple -
keep the meaning consistent.
What happens when you use `get_settings('home');`? You get the HOME page
defined in the options, not the blog page with all the posts. EVERYWHERE
in WordPress where "home" is mentioned, it points to that. So is_home
should return true when you're on that page and no other.
This already breaks a number of plugins for me because the plugin authors
expect `is_home` to point to the home page, whatever it is - i.e.
http://mysite.tld/
--
Ticket URL: <http://trac.wordpress.org/ticket/3682#comment:30>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list