Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#1608 closed defect (bug) (fixed)

WP_User remove_cap bug

Reported by: mdawaffe Owned by: mdawaffe
Milestone: Priority: normal
Severity: normal Version: 1.2
Component: Administration Keywords: bg|has-patch bg|commit
Focuses: Cc:


remove_cap method of WP_User class doesn't work. It tests for roles rather than caps.

Patch attached.

Attachments (1)

caps.diff (437 bytes) - added by mdawaffe 13 years ago.
Fix for WP_User's remove_cap

Download all attachments as: .zip

Change History (3)

13 years ago

Fix for WP_User's remove_cap

#1 @mdawaffe
13 years ago

  • Keywords bg|commit added
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

#2 @ryan
13 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2851]) remove_cap() fix from mdawaffe. fixes #1608

Note: See TracTickets for help on using tickets.