Changeset 3606
- Timestamp:
- 03/04/2006 08:39:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-bookmarks.php
r3605 r3606 73 73 global $wpdb; 74 74 75 $results = get_bookmarks("category=$category&orderby=$orderby&show_updated=$show_updated&limit=$limit"); 75 $order = 'ASC'; 76 if (substr($orderby, 0, 1) == '_') { 77 $order = 'DESC'; 78 $orderby = substr($orderby, 1); 79 } 80 81 $results = get_bookmarks("category=$category&orderby=$orderby&order=$order&show_updated=$show_updated&limit=$limit"); 76 82 77 83 if (!$results) {
Note: See TracChangeset
for help on using the changeset viewer.