Change WordPress user roles and capabilities › Forums › Bug Reports › Permissions non propagating? › Reply To: Permissions non propagating?
30/06/2018 at 01:33
#4998
Vladimir
Keymaster
I read your initial message in this topic again and paid attention that roles ID matches ‘admin’ is an exact part of ‘administrator’. It’s not a good idea to name roles this way.
WordPress stores roles list granted to a user in the text field as a serialized PHP array – string.
`WHERE meta_value like ‘%admin%’ SQL expression will return records as for the user with ‘admin’ role, as for the user with ‘administrator’ role. It may lead to the different issues.