[wp-trac] [WordPress Trac] #14796: start_post_rel_link() makes 3 DB queries; too much for what it offers

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 5 06:09:03 UTC 2010


#14796: start_post_rel_link() makes 3 DB queries; too much for what it offers
--------------------------+-------------------------------------------------
 Reporter:  demetris      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by dd32):

 > adjacent_posts_rel_link_wp_head for posts of type page now takes up to 4
 queries. (It took up to 9 before.)

 Can you paste the queries? (Ie. is it anything more than > POST_DATE LIMIT
 1, and < POST_DATE LIMIT 1?)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14796#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list