#1608 closed defect (bug) (fixed)
WP_User remove_cap bug
| Reported by: | mdawaffe | Owned by: | mdawaffe |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.2 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit |
| Cc: | Focuses: |
Description
remove_cap method of WP_User class doesn't work. It tests for roles rather than caps.
Patch attached.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fix for WP_User's remove_cap