[wp-trac] [WordPress Trac] #8961: query_posts with future for
archive results into wrong pagging
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 25 15:32:30 GMT 2009
#8961: query_posts with future for archive results into wrong pagging
--------------------------+-------------------------------------------------
Reporter: treibstoff | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: normal | Keywords: query_posts future archive
--------------------------+-------------------------------------------------
Since wp 2.7 the '''monthly & yearly''' archiv shows the published &
'''future''' posts if I'm using
<?php query_posts($query_string.'&post_status=publish,future'); if
(have_posts()) : ?>
to start the loop inside the archive.php
It will show me all published & future post in the 2009 archiv - '''but if
the side is pagged WP is unable to find the last page!!!'''
Have a look at this side: [http://lix.in/-3e79ed] and choose the yearly
archiv for 2009!
If the yearly archiv got only published post to see everything works fine
while pagging.
It is allways the last page it doesn't find.
Right now I didn't find any ticket or solution for this problem.
--
Ticket URL: <http://trac.wordpress.org/ticket/8961>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list