[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
Fri Sep 10 14:07:07 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 demetris):

 {{{adjacent_posts_rel_link_wp_head}}} is worse.

 When on a Page, i.e. on a post of the **page** type, it seems to be making
 up to 9 queries to do its job.

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


More information about the wp-trac mailing list