Changeset 6824
- Timestamp:
- 02/13/2008 07:12:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r6693 r6824 375 375 if ( 'DESC' == $order ) 376 376 $counts = array_reverse( $counts, true ); 377 elseif ( 'RAND' == $order ) { 378 $keys = array_rand( $counts, count($counts) ); 379 foreach ( $keys as $key ) 380 $temp[$key] = $counts[$key]; 381 $counts = $temp; 382 unset($temp); 383 } 377 384 378 385 $a = array();
Note: See TracChangeset
for help on using the changeset viewer.