Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2005 closed defect (bug) (fixed)

Plugin hooks for capabilities

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

Description

Plugin hooks are needed for the has_cap() members of the capabilities classes so that plugins can modify the capabilities of users on request.

Attachments (2)

capabilities.php.diff (953 bytes) - added by ringmaster 19 years ago.
Adds two hooks.
caps-test.php (1.1 KB) - added by ringmaster 19 years ago.
Sample plugin with virtually no functionality, but explains the incoming params.

Download all attachments as: .zip

Change History (6)

@ringmaster
19 years ago

Adds two hooks.

@ringmaster
19 years ago

Sample plugin with virtually no functionality, but explains the incoming params.

#1 @ringmaster
19 years ago

  • Keywords bg|has-patch added
  • Status changed from new to assigned

#2 @ryanLead Tester
19 years ago

  • Milestone set to 2.0

#3 @ryanLead Tester
19 years ago

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

(In [3296]) role_has_cap and user_has_cap filters from ringmaster. fixes #2005

#4 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.