WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#40320 new enhancement

Feature idea: Rename roles

Reported by: keraweb Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Role/Capability Keywords: has-patch dev-feedback
Focuses: Cc:
PR Number:

Description

There are some help topics available online where users manipulate the role names (not the slug but the display label).
Why not make a simple helper function rename_role() for this?

Attachments (1)

40320.patch (1.3 KB) - added by keraweb 3 years ago.
Add WP_Roles::rename_role() method + rename_role() helper function

Download all attachments as: .zip

Change History (2)

@keraweb
3 years ago

Add WP_Roles::rename_role() method + rename_role() helper function

#1 @keraweb
3 years ago

  • Keywords has-patch dev-feedback added
Note: See TracTickets for help on using tickets.