Changeset 6777 for trunk/src/includes/extend/buddypress/notifications.php
- Timestamp:
- 01/24/2018 01:01:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/notifications.php
r6400 r6777 87 87 if ( $action_item_count > 1 ) { 88 88 $filter = 'bbp_multiple_new_subscription_notification'; 89 $text = sprintf( __( 'You have %d new replies', 'bbpress' ), $action_item_count );89 $text = sprintf( esc_html__( 'You have %d new replies', 'bbpress' ), $action_item_count ); 90 90 91 91 // Single … … 93 93 $filter = 'bbp_single_new_subscription_notification'; 94 94 $text = ! empty( $secondary_item_id ) 95 ? sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), $action_item_count, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) )96 : sprintf( __( 'You have %d new reply to %s', 'bbpress' ), $action_item_count, $topic_title );95 ? sprintf( esc_html__( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), $action_item_count, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) ) 96 : sprintf( esc_html__( 'You have %d new reply to %s', 'bbpress' ), $action_item_count, $topic_title ); 97 97 } 98 98
Note: See TracChangeset
for help on using the changeset viewer.