[wp-trac] [WordPress Trac] #14426: unneeded "SELECT FOUND_ROWS()" when no posts are found
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 4 00:38:04 UTC 2012
#14426: unneeded "SELECT FOUND_ROWS()" when no posts are found
-------------------------+-----------------------
Reporter: mark-k | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by SergeyBiryukov):
[attachment:14426.3.patch] also sets `post_count` when `fields` parameter
is set (mentioned in #21733).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14426#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list