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
This commit is contained in:
azaozz 2009-06-09 21:48:58 +00:00
parent d967d1495b
commit 8409a9149a
1 changed files with 1 additions and 1 deletions

View File

@ -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';