mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
d967d1495b
commit
8409a9149a
@ -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