WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 5 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:

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

Download all attachments as: .zip

Change History (3)

@mdawaffe10 years ago

Fix for WP_User's remove_cap

comment:1 @mdawaffe10 years ago

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

comment:2 @ryan9 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.