[wp-trac] [WordPress Trac] #19728: WP_Query should constrict 'paged' to be within bounds of found_posts
WordPress Trac
noreply at wordpress.org
Thu Aug 8 22:04:53 UTC 2013
#19728: WP_Query should constrict 'paged' to be within bounds of found_posts
-------------------------+----------------------
Reporter: Master Jake | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution: wontfix
Keywords: |
-------------------------+----------------------
Changes (by wonderboymusic):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
This is a flaw in the way you are calculating `paged` for the request. If
you are calculating `paged` based on the known size of your result set,
you're probably good. `FOUND_ROWS()` can be turned off per query, so the
bounds may not be known, which means you nor WP can guess the proper
amount of pagination.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19728#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list