xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Excluding roles is not handled properly

shadyvb opened this issue · comments

Current Exclude tab in Settings stores both Users and Roles in the same variable:

image

But queries are not treating these values as expected, they're all treated as Author IDs:
https://github.com/x-team/wp-stream/blob/1.4.4/includes/query.php#L365