• 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?

    Cheers

    http://wordpress.org/extend/plugins/user-role-editor/

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

    (@shinephp)

    Thanks for pointing on this issue.
    Fix for it was included already into URE 3.10, and beta is available already from this link
    http://shinephp.com/user-role-editor-version-3-10/
    It could be a good help if you test it.
    I plan to publish version 3.10 at February, 1st.

    Thread Starter Dave Page

    (@davecpage)

    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.

    Cheers

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi David,

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

    Regards,
    Vladimir.

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