diff --git a/change_log.txt b/change_log.txt index 8f6c6c2..ee09bb8 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,10 +1,14 @@ +v0.0.9 +Changed textdomain from defined constant to a string - CHANGED +Added filters and actions for whoop theme compatibility - ADDED +Notification not showing properly - FIXED + v0.0.8 Option added to enable/disable activity component - ADDED Option added to enable/disable notifications component - ADDED Added placeholder text to message textarea - ADDED Compliments in activity dropdown filter is ambiguous - FIXED Undefined property ID notice - FIXED -Changed textdomain from defined constant to a string - CHANGED v0.0.7 Compliments can be renamed to anything Ex: "Gifts" - ADDED diff --git a/includes/bp-compliments-notifications.php b/includes/bp-compliments-notifications.php index 036db5c..945ac25 100644 --- a/includes/bp-compliments-notifications.php +++ b/includes/bp-compliments-notifications.php @@ -98,7 +98,10 @@ function bp_compliments_format_notifications( $action, $item_id, $secondary_item */ return apply_filters( 'bp_compliments_new_compliment_notification', '' . $text . '', $total_items, $link, $text, $item_id, $secondary_item_id ); } else { - return false; + return apply_filters( 'bp_compliments_new_toolbar_compliment_notification', array( + 'link' => $link, + 'text' => $text + ), (int) $total_items, $item_id ); } } diff --git a/includes/templates/buddypress/members/single/compliments.php b/includes/templates/buddypress/members/single/compliments.php index 4aab2d2..8c19ea1 100644 --- a/includes/templates/buddypress/members/single/compliments.php +++ b/includes/templates/buddypress/members/single/compliments.php @@ -95,12 +95,14 @@ class='preview-upload'/>