Ticket #9571: 9571.diff
File 9571.diff, 554 bytes (added by , 14 years ago) |
---|
-
link-template.php
875 875 876 876 $join = ''; 877 877 $posts_in_ex_cats_sql = ''; 878 $excluded_categories = apply_filters("get_{$adjacent}_post_excluded", $excluded_categories); 878 879 if ( $in_same_cat || !empty($excluded_categories) ) { 879 880 $join = " INNER JOIN $wpdb->term_relationships AS tr ON p.ID = tr.object_id INNER JOIN $wpdb->term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id"; 880 881