Changeset 21778
- Timestamp:
- 09/06/2012 07:19:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r21772 r21778 802 802 'columns' => 3, 803 803 'size' => 'thumbnail', 804 'ids' => '', 804 805 'include' => '', 805 806 'exclude' => '' … … 809 810 if ( 'RAND' == $order ) 810 811 $orderby = 'none'; 812 813 if ( !empty( $ids ) ) { 814 // 'ids' is explicitly ordered 815 $orderby = 'post__in'; 816 $include = $ids; 817 } 811 818 812 819 if ( !empty($include) ) {
Note: See TracChangeset
for help on using the changeset viewer.