Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » Bug in Multisite Webseites -> Edit -> Users

  • Hello,

    we have found a bug weh you use UM in a Multisite. IF ypu in Network -> Webseits and Edit one site and go to Users Tab. Than You can’t add a user too the side with the Form under the users list.

    The Problem is that ther in the hidden id filed stands a post id and noct a site id.

    I have found out that the problem is in the UM_Query::get_roles() method. Ther you use a WP_Query with setup_postdata(). The setup_postdata() sets the globel $id to the post id. And the admin site uses the same gilbel $id for site id.

    I think a simple bugfix can be the usage of get_posts() for that or usesing the results directly without setup_postdata().

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug in Multisite Webseites -> Edit -> Users’ is closed to new replies.