Changeset 11893 for trunk/src/bp-core/bp-core-filters.php
- Timestamp:
- 03/07/2018 12:08:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-filters.php
r11891 r11893 1037 1037 $tokens['site.admin-email'] = bp_get_option( 'admin_email' ); 1038 1038 $tokens['site.url'] = home_url(); 1039 $tokens['email.subject'] = $email->get_subject(); 1039 1040 1040 1041 // These options are escaped with esc_html on the way into the database in sanitize_option(). … … 1048 1049 $tokens['recipient.username'] = ''; 1049 1050 1050 1051 1051 // Who is the email going to? 1052 1052 $recipient = $email->get( 'to' ); … … 1064 1064 if ( $user_obj ) { 1065 1065 $tokens['recipient.username'] = $user_obj->user_login; 1066 1066 1067 if ( bp_is_active( 'settings' ) && empty( $tokens['unsubscribe'] ) ) { 1067 1068 $tokens['unsubscribe'] = esc_url( sprintf(
Note: See TracChangeset
for help on using the changeset viewer.