[wp-trac] [WordPress Trac] #28012: orderby post__in interferes with menu_order

WordPress Trac noreply at wordpress.org
Mon Aug 24 00:57:36 UTC 2015


#28012: orderby post__in interferes with menu_order
------------------------------------------+-------------------------
 Reporter:  Matthias82                    |       Owner:
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:
Component:  Query                         |     Version:  3.9
 Severity:  normal                        |  Resolution:  worksforme
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-------------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 @Ben_W using the exact code you've offered, I get the following SQL:
 `ORDER BY FIELD( wp_developsrc_posts.ID, 22153,23663,23360,23652 ) `

 You've most likely got a plugin altering your orderings.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28012#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list