﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
4943	Add features to get_posts: select from multiple categories, or exclude categories	johnjosephbachir	anonymous	"This patch adds two features to get_posts(), while maintain backward compatibility with all previous invocations:

 * The category variable may be a comma-separated list, specifying selection of posts from multiple categories.
{{{
#!php
get_posts('numberposts=5&category=1,5,6'); // get the 5 most recent posts from categories 1,5, and 6 (singular still works as before)
}}}
 * The query may be inverted, so that the results are from any categories BUT the ones specified.
{{{
#!php
get_posts('numberposts=5&category=3,4&category_exclude=1'); // get the 5 most recent posts from all categories other than categories 3 and 4 (singular also works)
}}}

I haven't thoroughly tested this code, it's more for discussion purposes at this point. But I'm fairly confident that it's a complete solution.

(btw-- there is no 2.2.3 yet in the trac version menu)"	enhancement	closed	low		Template		minor	invalid		
