Upstatement/stream-manager

Honor the post__not_in parameter

Closed this issue · 0 comments

Stream utilizes the post__in parameter to build the WP_Query. The Codex notes that "you cannot combine post__in and post__not_in in the same query."
Stream's behavior currently causes a passed in post__not_in parameter to be ignored.
The proposed fix is simply checking if post__not_in parameter is passed in to the query args; if it is, simply remove the IDs within from the post__in parameter.