Ticket #6551: fix_get_adjacent_post.diff
| File fix_get_adjacent_post.diff, 518 bytes (added by , 18 years ago) |
|---|
-
wp-includes/link-template.php
554 554 } 555 555 556 556 if ( !empty($excluded_categories) ) { 557 $posts_in_ex_cats_sql = " AND tt.t erm_id NOT IN (" . implode($excluded_categories, ',') . ')';557 $posts_in_ex_cats_sql = " AND tt.taxonomy = 'category' AND tt.term_id NOT IN (" . implode($excluded_categories, ',') . ')'; 558 558 } 559 559 } 560 560 }