WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16841, comment 22


Ignore:
Timestamp:
01/21/2015 08:29:51 PM (5 years ago)
Author:
lgladdy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16841, comment 22

    initial v1  
    22> Yep, the only thing is that you still have to change each user's role to something else and then back in order to update the actual user_level field in the database, if they were assigned that role before you added the level_1 cap. (tested a few minute ago on 4.1) So the workaround itself is pretty obscure, and the caveat for the workaround is even more obscure.
    33
    4 That's what has been fixed and will be released in 3.2 - You won't need to do that anymore - add_cap will update any existing users :)
     4That's what has been fixed and will be released in 4.2 - You won't need to do that anymore - add_cap will update any existing users :)