Opened 13 years ago
Closed 13 years ago
#17203 closed enhancement (fixed)
Recent Posts widget should set 'no_found_rows' => true
Reported by: | scribu | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Performance | Keywords: | has-patch |
Focuses: | Cc: |
Description
WP_Widget_Recent_Posts calls WP_Query, but doesn't need the total number of posts.
Therefore, it should set 'no_found_rows' => true
to make the query faster.
Even with #17195, this should still be done, to avoid SQL_FOUND_ROWS.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In [17825]: