Changeset 5829 for trunk/src/includes/extend/buddypress/notifications.php
- Timestamp:
- 07/14/2015 12:46:38 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/notifications.php
r5658 r5829 56 56 $filter = 'bbp_multiple_new_subscription_notification'; 57 57 } else { 58 if ( ! empty( $secondary_item_id ) ) {58 if ( ! empty( $secondary_item_id ) ) { 59 59 $text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) ); 60 60 } else { … … 99 99 100 100 // Bail if somehow this is hooked to an edit action 101 if ( ! empty( $is_edit ) ) {101 if ( ! empty( $is_edit ) ) { 102 102 return; 103 103 } … … 108 108 109 109 // Hierarchical replies 110 if ( ! empty( $reply_to ) ) {110 if ( ! empty( $reply_to ) ) { 111 111 $reply_to_item_id = bbp_get_topic_author_id( $reply_to ); 112 112 } … … 129 129 130 130 // Notify the immediate reply author if not the current reply author 131 if ( ! empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {131 if ( ! empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) { 132 132 $args['secondary_item_id'] = $reply_to_item_id ; 133 133
Note: See TracChangeset
for help on using the changeset viewer.