[wp-trac] Re: [WordPress Trac] #6848: is_front_page() and is_home()
erroneously returns true on /blog/?p=2 and so forth
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 26 04:21:31 GMT 2008
#6848: is_front_page() and is_home() erroneously returns true on /blog/?p=2 and so
forth
-----------------------------------------------------+----------------------
Reporter: Pinoy.ca | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.2
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: is_front_page is_home reporter-feedback |
-----------------------------------------------------+----------------------
Changes (by DD32):
* keywords: is_front_page, is_home => is_front_page is_home reporter-
feedback
Comment:
It appears to work as expected for me.
/wordpress/ is_front_page() = true[[BR]]
/wordpress/?p=2 /wordpress/?p=16 /wordpress/?p=143
/wordpress/2008/04/test/ /wordpress/page-name/ = false
What do you have Settings -> Reading -> "Front page displays" Set to?
I've tried both Static page & latest posts with the same results.
--
Ticket URL: <http://trac.wordpress.org/ticket/6848#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list