Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 15 years ago

#1608 closed defect (bug) (fixed)

WP_User remove_cap bug

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

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 19 years ago.
Fix for WP_User's remove_cap

Download all attachments as: .zip

Change History (3)

@mdawaffe
19 years ago

Fix for WP_User's remove_cap

#1 @mdawaffe
19 years ago

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

#2 @ryan
19 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.