[wp-trac] [WordPress Trac] #3062: the_posts filtering should be
done earlier
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 22 16:07:31 GMT 2006
#3062: the_posts filtering should be done earlier
---------------------+------------------------------------------------------
Reporter: coppit | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 2.0.2
Severity: normal | Keywords:
---------------------+------------------------------------------------------
the_posts can be used to remove posts from the blog. However, it is called
*after* the posts for a page are computed. This means that if I happen to
filter out all of the posts for a page, posts from the next page will not
slide up, leaving me with a blank page and a "next page" link.
Posts should be filtered with the_posts, then the results should be split
into pages.
--
Ticket URL: <http://trac.wordpress.org/ticket/3062>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list