[wp-trac] [WordPress Trac] #42256: Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches posts_per_page
WordPress Trac
noreply at wordpress.org
Wed Oct 18 03:47:00 UTC 2017
#42256: Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches
posts_per_page
--------------------------+-----------------------------
Reporter: ethitter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
If a `post__in` array is passed to WP_Query whose length matches the
`posts_per_page` value for the query, `SQL_CALC_FOUND_ROWS` is
unnecessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42256>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list