• Resolved OllieJones

    (@olliejones)


    On lines 345 and 395 of when_last_login.php you have this bit of code.

    'role__not_in' => 'Administrator'

    It should be

    'role__not_in' => array( 'administrator' )

    because that search term expects an array, and works on the slugs (lower case) not the titles of roles.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incorrect handling of role__not_in user query term’ is closed to new replies.