Opened 17 years ago
Closed 17 years ago
#8961 closed defect (bug) (invalid)
query_posts with future for archive results into wrong page turning
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.7 |
| Component: | Template | Keywords: | needs-patch |
| Focuses: | Cc: |
Description
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.
Change History (5)
Note: See
TracTickets for help on using
tickets.
for any reason I wrote pagging instead of page turning (previeous / next)