[wp-trac] [WordPress Trac] #18120: Slow SQL in get_adjacent_post()

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 19 18:11:44 UTC 2012


#18120: Slow SQL in get_adjacent_post()
------------------------------+---------------------
 Reporter:  javert03          |       Owner:  ryan
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Query             |     Version:  3.2.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21919]:
 {{{
 #!CommitTicketReference repository="" revision="21919"
 Improve performance of query in get_adjacent_post(). Get the ID and then
 call get_post(). Props apokalyptik, nacin, javert03. fixes #18120
 }}}

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


More information about the wp-trac mailing list