[wp-hackers] Coding Projects

Adi Jörg Sieker ml at adsworth.info
Wed Jan 19 17:55:34 GMT 2005


Hi,

Ryan Boren wrote:
> Support mutltiple negatives for category queries.  See get_posts() in
> classes.php where we process 'cat'.  Look for the comment lamenting the
> fact that we don't support this.

I'm just having ago at this and now I'm a little puzzled.
Currently if any category is specified as negative it'll
discard all others.
Now we would like multiple negatives which is no problem.

But what is the expected outcome of positives and negatives in one
query? For example this: query_posts('cat=3 -1 -4 2');


Regards
    Adi


More information about the hackers mailing list