Make WordPress Core

Opened 16 years ago

Closed 14 years ago

#14830 closed enhancement (duplicate)

Role name in New User Email for multisite should use nicename

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

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)

#1 @nacin
16 years ago

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

#2 @mdawaffe
16 years ago

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

#3 @nacin
16 years ago

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

#4 @SergeyBiryukov
14 years ago

  • Keywords needs-patch removed
  • Milestone Future Release
  • Resolution → duplicate
  • Status new → closed

#20764 has a patch.

Note: See TracTickets for help on using tickets.