Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 17 years ago

#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)

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

Download all attachments as: .zip

Change History (3)

@mdawaffe
21 years ago

Fix for WP_User's remove_cap

#1 @mdawaffe
21 years ago

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

#2 @ryan
21 years ago

  • Resolution → fixed
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.