I am about to recode my little Archive plugin, and so changed the way to exclude categories in my code. I am using get_posts and the category parameter to exclude certain cat ids (category=-1,-2,-3...).
Now, the Codex sais the following to query_posts:
There is a proviso however: it will exclude all the posts that belong only to category xxx. If a post belongs to another category as well, it will still be picked up.
Furthermore, the Codex tells that since WP 2.6 query_posts and get_posts run the same DB query internally, so the quoted should also be working for get_posts. Theoretically.
But obviously thats not a given. If a post belongs to another category as well, it's not gonna be picked up.
Now, is this a misbehaviour in WP, or is the Codex just not telling the fact?