Ticket #1608 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

WP_User remove_cap bug

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

Description

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

Patch attached.

Attachments

caps.diff (437 bytes) - added by mdawaffe on 08/23/05 02:01:55.
Fix for WP_User's remove_cap

Change History

08/23/05 02:01:55 changed by mdawaffe

  • attachment caps.diff added.

Fix for WP_User's remove_cap

08/24/05 21:58:05 changed by mdawaffe

  • keywords changed from bg|has-patch to bg|has-patch bg|commit.
  • owner changed from anonymous to mdawaffe.
  • status changed from new to assigned.

09/08/05 20:39:38 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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