Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#9024 closed enhancement (fixed)

Allow plugins to hide the "Additional Capabilities" output on the profile / user edit page

Reported by: jamescollins Owned by:
Priority: normal Milestone: 2.8
Component: Administration Version: 2.7
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

If a plugin adds an individual capability to one or more user accounts, their profile page automatically displays an "Additional Capabilities" section.

This information is also displayed when editing another user account.

This functionality was added in [2872].

I think this output should be optional, as it may confuse the end user.

I propose adding a simple filter that will allow plugins to override this.

Attachments (2)

9024.diff​ (612 bytes ) - added by jamescollins 18 years ago.
Corrected patch against r10485
9024 r10642.diff​ (542 bytes ) - added by jamescollins 18 years ago.
Improved patch against r10642

Download all attachments as: .zip

Change History (5)

@jamescollins
18 years ago

Corrected patch against r10485

#1 @jamescollins
18 years ago

  • Keywords has-patch added

@jamescollins
18 years ago

Improved patch against r10642

#2 @jamescollins
18 years ago

  • Milestone 2.7.2 → 2.8
  • Type defect (bug) → enhancement

I have updated the simple patch against r10642.

As far as I can tell, the attached patch doesn't change any existing behaviour(s), so I'd like to see this patch included in WP 2.8 if possible.

Thanks.

#3 @westi
18 years ago

  • Resolution → fixed
  • Status new → closed

(In [10645]) Allow a plugin to hide the extra capabilities listing on profiles. Fixes #9024 props jamescollins.

Note: See TracTickets for help on using tickets.