WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 2 years ago

#14830 closed enhancement (duplicate)

Role name in New User Email for multisite should use nicename

Reported by: joehoyle Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Multisite Keywords:
Focuses: Cc:

Description

The invite email that is sent when you add a new user using multisite uses the role slug in: "You have been invited to join x as a [role slug]".

Would it not be better if used something like $roles['role_names'][$role] in http://core.trac.wordpress.org/browser/trunk/wp-admin/user-new.php#L76

Change History (4)

comment:1 nacin3 years ago

  • Component changed from General to Multisite
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

comment:2 mdawaffe3 years ago

Both are hard to translate (even in English). We should reword that entirely.

comment:3 nacin3 years ago

Agreed, the string is terrible. We can reword it, then use the role name instead of the slug.

comment:4 SergeyBiryukov2 years ago

  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#20764 has a patch.

Note: See TracTickets for help on using tickets.