From fcaf29bc65ae67a44764d150f11ceec6d3a53d07 Mon Sep 17 00:00:00 2001 From: azaozz Date: Mon, 15 Sep 2008 11:08:47 +0000 Subject: [PATCH] Typo fix git-svn-id: http://svn.automattic.com/wordpress/trunk@8890 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 4912f2075..1dfcb66e8 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -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'";