[wp-trac] [WordPress Trac] #19747: Roles add_cap should call update_user_level_from_caps()
WordPress Trac
noreply at wordpress.org
Fri Feb 21 21:39:14 UTC 2014
#19747: Roles add_cap should call update_user_level_from_caps()
------------------------------------------------+--------------------------
Reporter: lgladdy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Role/Capability | Review
Severity: normal | Version: 3.3.1
Keywords: reporter-feedback needs-unit-tests | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Changes (by nacin):
* keywords: => reporter-feedback needs-unit-tests
Comment:
Hi lgladdy, sorry you never received a reply here. I'm trying to figure
out what's going on. update_user_level_from_caps() gets called when you
add a role to a user, which is what you'd be doing when you create a new
user role. So maybe the API could do a little more, but I'm not quite sure
what the bug is.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19747#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list