Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#9462 closed enhancement (fixed)

Add map_meta_cap filter

Reported by: rmccue Owned by: rmccue
Priority: normal Milestone: 2.8
Component: Users Version: 2.8
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

I was recently creating users with custom capabilities and noticed the edit_post, etc, family translated by map_meta_cap. I needed this functionality, but it's currently missing a filter.

I hereby propose this filter:

Attachments (1)

9472.diff​ (312 bytes ) - added by rmccue 18 years ago.
Add filter to wp-includes/capabilities.php

Download all attachments as: .zip

Change History (3)

@rmccue
18 years ago

Add filter to wp-includes/capabilities.php

#1 @westi
18 years ago

  • Resolution → fixed
  • Status new → closed

(In [10874]) Let a plugin filter the expanded capabilities returned by map_meta_cap. Fixes #9462 props rmccue.

#2 @westi
18 years ago

  • Milestone Unassigned → 2.8
Note: See TracTickets for help on using tickets.