mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-01 04:02:57 +00:00
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:
parent
c3ae630564
commit
4e3ade7628
@ -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';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user