[wp-trac] [WordPress Trac] #15959: get_adjacent_post() can generate invalid SQL

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 1 13:09:45 UTC 2011


#15959: get_adjacent_post() can generate invalid SQL
--------------------------+-----------------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by markauk):

 This bug also manifests on post types which do support categories, but
 where no categories are set for a given post. Present in 3.2(18084).

 Alternate patch attached which fixes both cases.

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


More information about the wp-trac mailing list