[buddypress-trac] [BuddyPress Trac] #8139: Network Invitations and Membership Requests

buddypress-trac noreply at wordpress.org
Thu Apr 29 13:28:57 UTC 2021


#8139: Network Invitations and Membership Requests
--------------------------+-----------------------
 Reporter:  dcavins       |       Owner:  (none)
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  8.0.0
Component:  Registration  |     Version:  5.0.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------

Comment (by imath):

 In [changeset:"12932" 12932]:
 {{{
 #!CommitTicketReference repository="" revision="12932"
 BP Email: introduce "unnamed" salutation

 The member invites feature's goal is to invite external users to join a
 community. The BP Email feature uses a named salutation by default. As a
 result, the salutation of invitation emails was "Hi email at domain.tld,".
 The user's name is not yet known and using this kind of salutation is odd.
 The member invites feature's need is to simply use an "unnamed" salutation
 eg: "Hi,". To satisfy it we are updating the BP Email type schema with a
 new property `$named_salutation` which defaults to true. If this property
 is false, then the sent email will from now on use an unnamed salutation.

 **NB**: to prevent potential back compatibiliy issues, each kind of
 salutation has their own filters
 - Use `bp_email_get_unnamed_salutation` to edit the unnamed one.
 - Use `bp_email_get_salutation` to edit the default one (named).

 Props dcavins for coloring outside the lines a bit 😉

 See #8139
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8139#comment:69>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list