In get_posts() "category" is expected to be a string

git-svn-id: https://develop.svn.wordpress.org/trunk@11536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-06-09 21:48:58 +00:00
parent c3ae630564
commit 4e3ade7628

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