[wp-trac] [WordPress Trac] #13729: Post Query should be able to order by specific order passed in "post__in"

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 8 05:56:09 UTC 2011


#13729: Post Query should be able to order by specific order passed in "post__in"
-----------------------------------+-----------------------------
 Reporter:  jakemgold              |       Owner:  ryan
     Type:  enhancement            |      Status:  reopened
 Priority:  normal                 |   Milestone:  Future Release
Component:  Query                  |     Version:  3.0
 Severity:  minor                  |  Resolution:
 Keywords:  2nd-opinion has-patch  |
-----------------------------------+-----------------------------
Changes (by dd32):

 * status:  closed => reopened
 * version:  3.2 => 3.0
 * resolution:  fixed =>


Comment:

 Tickets are marked as fixed once a patch has been applied to the trunk.
 The version field is to record the first-known/reported version that the
 ticket applies to.

 Quick patch review: `empty( $post__in )` could probably be used in the
 if() branch to allow it to fall through to the default (which i believe is
 order by date?)

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


More information about the wp-trac mailing list