From 8409a9149ac518de2b81f1e2810e8a268dbc8278 Mon Sep 17 00:00:00 2001 From: azaozz Date: Tue, 9 Jun 2009 21:48:58 +0000 Subject: [PATCH] In get_posts() "category" is expected to be a string git-svn-id: http://svn.automattic.com/wordpress/trunk@11536 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 963e27ebf..fb1113761 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1034,7 +1034,7 @@ function get_boundary_post($in_same_cat = false, $excluded_categories = '', $sta } } - $categories = array_merge($cat_array, $excluded_categories); + $categories = implode(',', array_merge($cat_array, $excluded_categories) ); $order = $start ? 'ASC' : 'DESC';