[wp-trac] Re: [WordPress Trac] #6848: is_front_page() and is_home()
erroneously returns true on /blog/page/2 and so forth
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 26 12:20:50 GMT 2008
#6848: is_front_page() and is_home() erroneously returns true on /blog/page/2 and
so forth
-----------------------------------------------+----------------------------
Reporter: Pinoy.ca | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.2
Component: Template | Version: 2.5
Severity: normal | Resolution:
Keywords: is_front_page is_home 2nd-opinion |
-----------------------------------------------+----------------------------
Comment (by Viper007Bond):
I think it's best how it is now. If it was switched to the suggested
change, it'd be really hard to find front page, but page 2.
However, as Denis-de-Bernardy said, it's easy to exclude 2nd pages and
stuff via is_paged().
--
Ticket URL: <http://trac.wordpress.org/ticket/6848#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list