[wp-trac] [WordPress Trac] #15396: Queries not being cached
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 12 10:56:44 UTC 2010
#15396: Queries not being cached
--------------------------+-------------------------------------------------
Reporter: sivel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Cache | Version: 3.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by nacin):
This query was caused by post_format being assigned to attachments as
well, which then fired when the gallery shortcode called get_children.
SELECT t.*, tt.*, tr.object_id FROM wp31_terms AS t INNER JOIN
wp31_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN
wp31_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id
WHERE tt.taxonomy IN ('post_format') AND tr.object_id IN (525, 526, 527,
528, 529, 530, 531, 532, 533, 534, 535, 536) ORDER BY t.name ASC
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15396#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list