WP installation: 3.8.0
ACF version: 4.3.5 and 4.3.6
The change made in fields/user.php::create_field() in version 4.3.5 seems to ignore user role filter of ACF’s User Field.
Prior to 4.3.5, $users are obtained with:
$users = get_users(array(
'role' => $role
));
But in > 4.3.5 its filters doesn’t seem to apply role filters to the get_users() query. And because our WP installation has a large number of users, it runs out of memory.
What we need is a fix so that get_users still respect role filter configed in the ACF field.
Let me know if you need more information on this. Thanks for the great work.