Skip to:
Content

BuddyPress.org

Changeset 12934


Ignore:
Timestamp:
04/29/2021 01:51:13 PM (5 years ago)
Author:
dcavins
Message:

BP Email: Variable name change.

Props imath.

See #8139.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-template.php

    r12932 r12934  
    38083808        function bp_email_get_salutation( $settings = array() ) {
    38093809                $email_type = bp_email_get_type();
    3810                 $saluation  = '';
     3810                $salutation  = '';
    38113811
    38123812                if ( $email_type ) {
    … …  
    38223822                                 * @param array  $settings Email Settings.
    38233823                                 */
    3824                                 $saluation = apply_filters(
     3824                                $salutation = apply_filters(
    38253825                                        'bp_email_get_unnamed_salutation',
    38263826                                        _x( 'Hi,', 'Unnamed recipient salutation', 'buddypress' ),
    … …  
    38313831
    38323832                // Named salutations are default.
    3833                 if ( ! $saluation ) {
     3833                if ( ! $salutation ) {
    38343834                        $token = '{{recipient.name}}';
    38353835
    … …  
    38433843                         * @param string $token    The Recipient token.
    38443844                         */
    3845                         $saluation = apply_filters(
     3845                        $salutation = apply_filters(
    38463846                                'bp_email_get_salutation',
    38473847                                sprintf(
    … …  
    38553855                }
    38563856
    3857                 return $saluation;
    3858         }
     3857                return $salutation;
     3858        }
Note: See TracChangeset for help on using the changeset viewer.