Changeset 8890
- Timestamp:
- 09/15/2008 11:08:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r8869 r8890 600 600 if ( $in_same_cat ) { 601 601 $cat_array = wp_get_object_terms($post->ID, 'category', 'fields=ids'); 602 $join .= " AND tt.taxonomy = 'category' AND tt.term_id IN (" . implode( $cat_array, ',') . ')';602 $join .= " AND tt.taxonomy = 'category' AND tt.term_id IN (" . implode(',', $cat_array) . ")"; 603 603 } 604 604
Note: See TracChangeset
for help on using the changeset viewer.