Changeset 12934
- Timestamp:
- 04/29/2021 01:51:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r12932 r12934 3808 3808 function bp_email_get_salutation( $settings = array() ) { 3809 3809 $email_type = bp_email_get_type(); 3810 $salu ation = '';3810 $salutation = ''; 3811 3811 3812 3812 if ( $email_type ) { … … 3822 3822 * @param array $settings Email Settings. 3823 3823 */ 3824 $salu ation = apply_filters(3824 $salutation = apply_filters( 3825 3825 'bp_email_get_unnamed_salutation', 3826 3826 _x( 'Hi,', 'Unnamed recipient salutation', 'buddypress' ), … … 3831 3831 3832 3832 // Named salutations are default. 3833 if ( ! $salu ation ) {3833 if ( ! $salutation ) { 3834 3834 $token = '{{recipient.name}}'; 3835 3835 … … 3843 3843 * @param string $token The Recipient token. 3844 3844 */ 3845 $salu ation = apply_filters(3845 $salutation = apply_filters( 3846 3846 'bp_email_get_salutation', 3847 3847 sprintf( … … 3855 3855 } 3856 3856 3857 return $salu ation;3858 } 3857 return $salutation; 3858 }
Note: See TracChangeset
for help on using the changeset viewer.