Changeset 10509
- Timestamp:
- 02/04/2016 10:21:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-notifications.php
r10479 r10509 78 78 ), 79 79 ); 80 bp_send_email( 'groups-details-updated', $user_id, $args );80 bp_send_email( 'groups-details-updated', (int) $user_id, $args ); 81 81 } 82 82 … … 139 139 ), 140 140 ); 141 bp_send_email( 'groups-membership-request', $admin_id, $args );141 bp_send_email( 'groups-membership-request', (int) $admin_id, $args ); 142 142 } 143 143 … … 185 185 186 186 if ( ! empty( $accepted ) ) { 187 bp_send_email( 'groups-membership-request-accepted', $requesting_user_id, $args );187 bp_send_email( 'groups-membership-request-accepted', (int) $requesting_user_id, $args ); 188 188 } else { 189 bp_send_email( 'groups-membership-request-rejected', $requesting_user_id, $args );189 bp_send_email( 'groups-membership-request-rejected', (int) $requesting_user_id, $args ); 190 190 } 191 191 } … … 238 238 ), 239 239 ); 240 bp_send_email( 'groups-member-promoted', $user_id, $args );240 bp_send_email( 'groups-member-promoted', (int) $user_id, $args ); 241 241 } 242 242 add_action( 'groups_promoted_member', 'groups_notification_promoted_member', 10, 2 ); … … 289 289 ), 290 290 ); 291 bp_send_email( 'groups-invitation', $invited_user_id, $args );291 bp_send_email( 'groups-invitation', (int) $invited_user_id, $args ); 292 292 } 293 293
Note: See TracChangeset
for help on using the changeset viewer.