Skip to:
Content

BuddyPress.org

Ticket #7044: 7044.01.patch

File 7044.01.patch, 478 bytes (added by r-a-y, 3 years ago)
  • src/bp-core/bp-core-filters.php

     
    10411041                }
    10421042
    10431043                if ( $user_obj ) {
     1044                        $tokens['recipient.name'] = ! empty( $tokens['recipient_name'] ) ? $tokens['recipient_name'] : bp_core_get_user_displayname( $user_obj->ID );
     1045
    10441046                        // Unsubscribe link.
    10451047                        $tokens['unsubscribe'] = esc_url( sprintf(
    10461048                                '%s%s/notifications/',