Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 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:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: Administration Keywords: has-patch
Focuses: Cc:


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 9 years ago.
Corrected patch against r10485
9024 r10642.diff (542 bytes) - added by jamescollins 9 years ago.
Improved patch against r10642

Download all attachments as: .zip

Change History (5)

9 years ago

Corrected patch against r10485

#1 @jamescollins
9 years ago

  • Keywords has-patch added

9 years ago

Improved patch against r10642

#2 @jamescollins
9 years ago

  • Milestone changed from 2.7.2 to 2.8
  • Type changed from defect (bug) to 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.


#3 @westi
9 years ago

  • Resolution set to fixed
  • Status changed from new to 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.