From d16cecab9fbfd8c98b498edd11f4749c28abbc71 Mon Sep 17 00:00:00 2001 From: Giri Dhar Date: Fri, 11 Mar 2016 14:55:24 +0530 Subject: [PATCH] capitlization bug fix --- includes/bp-compliments-notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/bp-compliments-notifications.php b/includes/bp-compliments-notifications.php index d86f509..1629663 100644 --- a/includes/bp-compliments-notifications.php +++ b/includes/bp-compliments-notifications.php @@ -46,7 +46,7 @@ function bp_compliments_format_notifications( $action, $item_id, $secondary_item $text = false; if ( 1 == $total_items ) { - $text = sprintf( __( '%s has sent you a %s', 'bp-compliments' ), bp_core_get_user_displayname( $item_id ), strtolower(BP_COMP_SINGULAR_NAME) ); + $text = sprintf( __( '%s has sent you a %s', 'bp-compliments' ), bp_core_get_user_displayname( $item_id ), BP_COMP_SINGULAR_NAME ); $link = bp_core_get_user_domain( $bp->loggedin_user->id ) .BP_COMPLIMENTS_SLUG. '/?bpc_read=true&bpc_sender_id='.$item_id; } break;