Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter devopstechnogym

    (@devopstechnogym)

    Here the steps:

    1) Create a user and assign a standard role (from the user page) and also some capabilities (es. User management)
    2) run the WP_User_Query trying to retrieve the assigned role for the created user (this call should work and should return correctly the role name)
    3) modify the role from the user page
    4) run the WP_User_Query trying to retrieve the assigned role for the created user but this time you’ll see that the call will return an emty role (value null)
    5) go into the Capability page and click on update (without doing anything)
    6) run angain the WP_User_Query and you’ll see that the role now is correctly displayed.

    This means that the user role editor seems to not be updated when changing the role from the standard page.
    I think this is a bug (also because before the upgrade to the latest version, everything worked fine).

    Sascia

Viewing 1 replies (of 1 total)