[wp-trac] [WordPress Trac] #6139: is_year() returns false on year archive pages under /blog (or any non-root blog locale)
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 16 15:28:25 UTC 2009
#6139: is_year() returns false on year archive pages under /blog (or any non-root
blog locale)
--------------------------+-------------------------------------------------
Reporter: forgetcolor | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 2.8.5
Component: General | Version: 2.8.4
Severity: normal | Resolution:
Keywords: is_year |
--------------------------+-------------------------------------------------
Changes (by fob):
* status: closed => reopened
* cc: fob (added)
* version: => 2.8.4
* milestone: => 2.8.5
* keywords: => is_year
* resolution: invalid =>
Comment:
Since upgrading from 2.7.1 to 2.8.4 I have a similar problem:
../blog/2006/, ../blog/2007/ and ../blog/2008/ suddenly show me results
from ../blog/.
If is_year() results are paged (normally they are) you can load
../blog/2008/page/1/ with the expected posts, ../blog/2008/page/2/ works
fine, too, ... but if is_year start page seems to be replaced by rewind
results of the blog page, first.
Monthly archives, archives by day or category and even paged results work
fine. Resetting the permalink structure does not help at this time. I even
could not locate a plugin failure to solve the ploblem.
(PHP5, mySQL5)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6139#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list