Support » Plugin: User Role Editor » Administrators incorrectly being excluded

  • Hi,

    I have a series of sites in a WordPress network where users are invited to subscribe to posts based on a combination of posts for this particular site and to particular categories on each site. Then when an user within the admin publishes a new post those users who have subscribed will get a brief email about it.

    My problem came when an Administrator level user was subscribed to sites but wasn’t receiving the emails. Yet local testing showed that he should.

    Eventually I discovered that when admin users who were Editors or Authors published a post he didn’t get an email (yet others did), but when he made a post he did get an email.

    It turned out to be the ‘pre_user_query’ filter ‘ure_exclude_administrators’ which was modifying the get_users query to exclude Administrators, even though this query had nothing to do with URE.

    For the short term we’ve disabled the plugin so the filter isn’t added, but is there any chance the plugin could be edited to only add the filters when it affects URE functions?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vladimir Garagulia


    Thanks for pointing on this issue.
    Fix for it was included already into URE 3.10, and beta is available already from this link
    It could be a good help if you test it.
    I plan to publish version 3.10 at February, 1st.

    Hi there,

    Downloaded the beta and it’s working great. No issues with the user filtering now.

    However I have noticed that when editing a single user, the new multiple roles functionality is including the bbPress roles among the WordPress roles. Trying to set a bbPress role this way doesn’t work.


    Plugin Author Vladimir Garagulia


    Hi David,

    Thanks for the information. I will check the issue with bbPress roles.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Administrators incorrectly being excluded’ is closed to new replies.