mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-27 20:40:21 +00:00
Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@8890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -599,7 +599,7 @@ function get_adjacent_post($in_same_cat = false, $excluded_categories = '', $pre
|
||||
|
||||
if ( $in_same_cat ) {
|
||||
$cat_array = wp_get_object_terms($post->ID, 'category', 'fields=ids');
|
||||
$join .= " AND tt.taxonomy = 'category' AND tt.term_id IN (" . implode($cat_array, ',') . ')';
|
||||
$join .= " AND tt.taxonomy = 'category' AND tt.term_id IN (" . implode(',', $cat_array) . ")";
|
||||
}
|
||||
|
||||
$posts_in_ex_cats_sql = "AND tt.taxonomy = 'category'";
|
||||
|
||||
Reference in New Issue
Block a user