Changeset 5590 for trunk/wp-includes/link-template.php
- Timestamp:
- 05/29/2007 04:54:45 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/link-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r5576 r5590 74 74 if (strpos($permalink, '%category%') !== false) { 75 75 $cats = get_the_category($post->ID); 76 if ( $cats ) 77 usort($cats, '_usort_terms_by_ID'); // order by ID 76 78 $category = $cats[0]->slug; 77 79 if ( $parent=$cats[0]->parent )
Note: See TracChangeset
for help on using the changeset viewer.